/* General Reset */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('../assets/images/rugby-bg.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #333;
}

/* Header */
.header {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  text-align: center;
}

.logo-transparent {
  max-height: 80px;
  margin-bottom: 10px;
}

.org-name {
  font-size: 24px;
  color: #ffffff;
  font-weight: bold;
}

/* Navigation */
.nav_links {
  margin-top: 10px;
}

.nav_links a {
color: #FFD700;
  margin: 0 10px;
  padding: 8px 16px;
  background-color: #006400;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.nav_link a:hover {
  background-color: #004d00;
}

/* Form Container */
.container,
.login-section,
.register-section {
  max-width: 400px;
  margin: 60px auto;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  animation: fadeIn 1s ease-in-out;
}

/* Form Elements */
form {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 600;
  margin-bottom: 5px;
}

input[type="email"],
input[type="password"],
input[type="text"] {
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

button[type="submit"],
.btn-primary {
  padding: 12px;
  background-color: #006400;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover,
.btn-primary:hover {
  background-color: #004d00;
}

/* Toggle Password */
.password-container {
  position: relative;
}

.toggle-icon {
  position: absolute;
  right: 10px;
  top: 38px;
  cursor: pointer;
  font-size: 14px;
  color: #006400;
}

/* Links */
a {
  color: #006400;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Error and Success Messages */
p[style*="color:red"] {
  background-color: #ffe6e6;
  padding: 10px;
  border-left: 4px solid #cc0000;
  margin-bottom: 15px;
}

p[style*="color:green"] {
  background-color: #e6ffe6;
  padding: 10px;
  border-left: 4px solid #009900;
  margin-bottom: 15px;
}

/* Footer */
.footer {
    display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background-color: 2px solid #006400;
  border-top: 2px solid #0d310d;
  margin-top: auto;
}

 .footer-logo {
    align-self: center;
    margin-top: 15px;
    align-self: flex-end;
  }
  .footer-logo img {
  max-height: 80px;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 500px) {
  .container,
  .login-section,
  .register-section {
    margin: 30px 15px;
    padding: 20px;
  }
}

.footer p {
 margin-top: 20px;
  font-size: 14px;
  color: #000000;
  text-align: center;
}

