/*Import font style from google API*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/*! Roots varibales */
:root {
    --primary-font-color: #635d5d;
    --secondary-font-color: #C1CE61;
    --sidebar-bg-color: #C1CE61;
    --text-box-bg-color: #D9d9d9;
    --buttons-bg-color: #BED70A;
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto";
}

/* Fonts & body */
body {
  font-family: 'Century Gothic', sans-serif;
  color: #666666;
  background: white;
  margin: 0;
  padding: 0;
}
/* 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;
}


/* 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;
    color: var(--text-color);
    font-weight: bold;
    font-family: 'Century Gothic', sans-serif;
    font-size: 15px;
    color: #666664;
}

.topbar nav a:hover {
    color: var(--primary-color);
}

/* Hamburger icon */
.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: #666;
}
.login-text {
  display: none;
}
.login-icon {
  display: inline-block;
}


/* Main content */
.main-content {
   padding: 30px;
    max-width: 980px; 
    margin: 0 auto;  
}
.main-content h1 {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #444;
  
}

/* Form Styling */
form {
  background-color: white;
  border-radius: 20px;
  padding: 30px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.form-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.form-group label {
  flex: 1 1 100%;
  font-weight: bold;
  margin-bottom: 5px;
  color: black;
}
/*new*/
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.form-row .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Make all border-label-groups full width */
.input-group {
    position: relative;
    margin-bottom: 30px;
    text-align: left;
}
.input-field {
    flex: 1;
    border: none;
    background: transparent;
     font-family: 'Century Gothic', sans-serif;
    font-size: 16px;
    color: #444;
    outline: none;
}

.input-group label {
    position: absolute;
    top: -10px;
    left: 20px;
    background: white;
    padding: 0 5px;
    font-size: 14px;
    color: #5C6E1C;
    z-index: 2;
}

.input-group input {
    width: 100%;
    padding: 16px;
    border: 2px solid #9AB74D;
    border-radius: 12px;
    font-size: 16px;
    background: transparent;
    outline: none;
    position: relative;
    z-index: 1;
}

input[type="email"], 
input[type="password"],
input[name="password_confirmation"] {
  flex: 1 1 100%;
}

.invalid-feedback {
  color: red;
  font-size: 13px;
  margin-top: 5px;
  flex: 1 1 100%;
}

.form-actions {
  display: flex;
  justify-content: space-between; /* left and right */
  margin-top: 0;
  gap: 20px;
  max-width: 750px; /* same max width as form */
  margin-left: auto;
  margin-right: auto;
}

.btn {
    width: 100%;
    max-width: 660px;
    height: 47px;
    margin: 10px auto;
    background: linear-gradient(to right, #C1CE61, #616831);
    border: none;
    border-radius: 20px;
    font-size: 16px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    color: white;
    cursor: pointer;
    display: block;
}

.btn:hover {
    opacity: 0.9;
}



footer {
  font-size: 15px;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  color: #000000;
  text-align: center;
  padding: 10px 0; 
  margin-top: 40px;
}

/* Responsive Design */
/* Smaller devices: tablets and below */
@media (max-width: 575px) {
  .main-content {
    padding: 20px 15px;
  }

  .form-group,
  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    font-size: 14px;
    padding: 12px;
  }

  .search-bar {
    width: 100%;
    margin-left: 0;
  }

  .topbar {
        flex-direction: row;
        align-items: center;
        height: 90px;
        padding: 6px 20px;
    }
      .mobile-icon {
       display: inline-block !important;
        margin-right: 8px;
        color: white;
        min-width: 20px;
        text-align: center;
    }
    .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;

    }
     .login-icon {
    display: none;
  }
  .login-text {
    display: inline-block;
    color: white;
    font-size: 15px;
    font-family: 'Century Gothic', sans-serif;
    font-weight: bold;
    padding-left: 5px;
  }

} 

