/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
     font-family: 'Century Gothic', sans-serif;
    min-height: 100vh;
    background: #fff;
}

/* Logo and nav icons */
.nav-link img {
    width: 41px;
    height: 41px;
    margin: 28px 0 0 62px;
}

.logo {
    width: 100px;
    height: auto;
    margin: 0;
    display: block;
}

.nav-links img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.nav-links a {
    color: white;
    display: block;
    padding: 10px;
    text-decoration: none;
    font-size: 18px;
    transition: background 0.3s;
}

.nav-links a:hover {
    color: black;
}

:root {
    --primary-color: #9AC026;
    --text-color: #333;
}

/* Topbar */
.topbar {
    background-color: #fff;
    height: 90px;
    padding: 6px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.topbar nav {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-right: 70px;
    flex-wrap: wrap;
}

.topbar nav a {
     text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Century Gothic', sans-serif;
    color: #333;
}

.topbar nav a:hover {
    color: var(--primary-color);
}

.user-login .login-text {
    display: none;
}
            

/* Hamburger icon */
.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: #666;
}

/* Main content */
.main-content {
    padding: 30px;
    max-width: 980px;
    margin: 0 auto;
}

.login-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Title */
.title {
   
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
  font-family: 'Century Gothic', sans-serif;
    color: #333;
   
}

/* Radio group */
.radio-group {
    
    display: flex !important;
    flex-direction: row !important;  
    justify-content: center;
    gap: 60px;
    margin-bottom: 20px;
    margin-top: 10px;
    flex-wrap: wrap; 
}

.radio-label {
 
    font-size: 16px;
  font-family: 'Century Gothic', sans-serif;
    color: #333;
   font-weight:600;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.radio-label input[type="radio"] {
    appearance: none;
    width: 15px;
    height: 15px;
    border: 2px solid #AFB021;
    border-radius: 50%;
    background-color: #fff;
    transition: background-color 0.2s, border-color 0.2s;
    margin: 0 ;
}

.radio-label input[type="radio"]:checked {
    background-color: #AFB021;
}
/* Form inputs */
.input-wrapper {
    position: relative;
    max-width: 660px;
    margin: 20px auto 30px auto;
}

.input-wrapper label {
    position: absolute;
    top: -12px;
    left: 20px;
    background-color: #fff;
    padding: 0 5px;
    font-size: 16px;
   font-family: 'Century Gothic', sans-serif;
    color: #333;
    font-weight: 600;
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    height: 42px;
    border: 2px solid #C4D52E;
    border-radius: 10px;
    padding: 0 15px;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    font-family: 'Century Gothic', sans-serif;
    color: #333;
}

.password-field {
    position: relative;
}

.password-field .toggle-password {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
}

.input-field {
    flex: 1;
    border: none;
    background: transparent;
     font-family: 'Century Gothic', sans-serif;
    font-size: 16px;
    color: #444;
    outline: none;
}

/* Forgot password */
.forgot-password {
    text-align: right;
    margin: 5px auto 15px;
    max-width: 660px;
}

.forgot-password a {
     font-family: 'Century Gothic', sans-serif;
    font-size: 18px;
    color: #096ECC;
    font-weight: bold;
    text-decoration: none;
    font-style: italic;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Button */
.button-group {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn {
    width: 660px;
    height: 47px;
    margin: 10px auto;
    background: linear-gradient(to right, #C4D52E, #666F18);
    border: none;
    border-radius: 20px;
    font-size: 16px;
    font-family: 'Century Gothic', sans-serif;
    font-weight: bold;
    color: white;
    cursor: pointer;
    display: block;
    transition: opacity 0.3s ease;
}

.btn:hover {
    opacity: 0.9;
}

/* Register section */
.or-register-wrapper {
    text-align: center;
    margin-top: 20px;
}

.or-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px auto;
    max-width: 660px;
}

.or-divider .line {
    flex: 1;
    height: 1px;
    background-color: #C1CE61;
}

.or-divider .or-text {
    font-size: 16px;
   font-family: 'Century Gothic', sans-serif;
    font-weight: 600;
    color: #333;
   font-size:16px;
   font-weight:600;
}

.register-link {
    text-align: center;
    margin-top: 10px;
}

.register-link a {
     font-family: 'Century Gothic', sans-serif;
    font-size: 18px;
    color: #096ECC;
    font-weight: bold;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    font-size: 15px;
   font-family: 'Century Gothic', sans-serif;
    font-weight: 400;
    color: #000000;
    text-align: center;
    margin-top: 30px;
    padding: 10px 0;
    background: transparent;
}

/* Error message */
.error-message {
    color: red;
    font-size: 14px;
    margin-top: 5px;
}

/* Toggle password icon */
.toggle-password {
    color: #635D5D;
    cursor: pointer;
}

.toggle-password:hover {
    color: #333;
}
.mobile-icon {
    display: none !important;
}

/* FOR MOBILE  RSEPONSIVENESS*/
@media (max-width: 768px) {
    .topbar {
        flex-direction: row;
        align-items: center;
        height: 90px;
        padding: 6px 20px;
    }
      .mobile-icon {
       display: inline-block ;
        margin-right: 8px;
        color: white;
        min-width: 20px;
        text-align: center;
    }
      .user-login i {
                display: none;
            }
            
            .user-login .login-text {
                display: inline;
                padding: 8px 0;
                color: white;
                font-weight: bold;
                font-family: var(--font-family);
            }
    .hamburger {
        display: block;
        order: 2;
        margin-left: auto;
        font-size: 26px;
        cursor: pointer;
        color: #666;
    }

    .topbar nav {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 75%;
    flex-direction: column;
    padding-top: 90px;
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
     background: linear-gradient(to right, #C4D52E, #666F18);
       align-items: center;
        
        
      
          
    }

    .topbar nav.show {
        left: 0;
    }

    .topbar nav a {
  width: auto;
    padding: 10px 15px;
    margin-bottom: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    color: white;
    font-size: 15px;
    text-align: left;
    font-weight: bold;
    font-family: 'Century Gothic', sans-serif;
    text-decoration: none;
    }

    .topbar nav a:hover {
       background: rgba(255, 255, 255, 0.2);
    color: white;
    opacity: 0.85;

    }

    .main-content {
        padding: 20px;
        margin: 0;
    }

    .login-container {
        width: 100%;
        padding: 20px;
        box-shadow: none;
        border-radius: 0;
    }

    .input-wrapper {
        max-width: 100%;
        margin: 15px 0;
    }

    .input-wrapper label {
         left: 12px;
    font-size: 16px;
    font-family: 'Century Gothic', sans-serif;
    font-weight: 600;
    color: #333;
    }

    .input-wrapper input {
       height: 40px;
    font-size: 16px;
    font-family: 'Century Gothic', sans-serif;
    font-weight: 600;
    color: #333;
    }

     
    .radio-group {
        display: flex ;
        flex-direction: row ;
        flex-wrap: nowrap;
        justify-content: center ;
        gap: 10px ;
        margin-bottom: 20px;
        margin-top: 10px;
        width: 100%;
    }

    .radio-label {
        font-size: 14px ;
    font-family: 'Century Gothic', sans-serif ;
    font-weight: 600;
    color: #333;
     gap:0px;
    }
    .btn {
        width: 100%;
        height: 45px;
        font-size: 14px;
    }

    .forgot-password {
        width: 100%;
        text-align: right;
        font-size: 14px;
    }

    .or-divider {
        max-width: 100%;
        gap: 6px;
    }

    .or-divider .or-text {
          font-size: 16px;
    font-family: 'Century Gothic', sans-serif;
    font-weight: 600;
    color: #333;
    }

    .register-link a,
    .forgot-password a {
        font-size: 16px;
    }

    .site-footer {
        font-size: 13px;
        padding: 10px 5px;
    }
    
}