/*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: linear-gradient(to bottom, #FFFFFF, #EFEFEF);
  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;
}

: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;
    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: 15px;
  padding: 40px;
  max-width: 750px;
  margin: 0 auto;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.form-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.form-group label {
  flex: 1 1 100%;
  font-weight: bold;
  margin-bottom: 5px;
  color: #666666;
;
}
/*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 */
.border-label-group {
  position: relative;
  width: 100%;
  margin-bottom: 0;
}


.border-label-group input,
.border-label-group select {
  width: 100%;
  padding: 16px 12px 10px;
  font-size: 16px;
  border: 4px solid #b6c33e;
  border-radius: 10px;
  outline: none;
  background-color: transparent;
  appearance: none; /* for select */
}

.border-label-group label {
  position: absolute;
  top: -10px;
  left: 15px;
  background-color: white;
  padding: 0 5px;
  font-size: 14px;
  color: #666666;
  font-weight: bold;
  z-index: 1;
}
/* Style the select dropdown */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='grad' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%' stop-color='%23579605'/%3E%3Cstop offset='100%' stop-color='%239AC026'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M7 10l5 5 5-5H7z' fill='url(%23grad)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 46px;
}

.form-group input,
.form-group select {
  flex: 1 1 48%;
  padding: 10px;
  border: 2px solid #C4D52E;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  background-color: transparent;
  
}

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;
}

button[type="submit"], button[type="reset"] {
 background: linear-gradient(to right, #C4D52E, #666F18);
  color: white;
  font-weight: bold;
  border: none;
  padding: 12px 40px;
  border-radius: 15px;
  width: 260px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: 'Roboto Condensed', sans-serif;
}

button:hover {
  background-color: #b3c84e;
}

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: 992px) {
   .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;
  }
}



@media (max-width: 768px) {
  .main-content {
    position: relative;
    top: 100px;  
    left: 0;
    right: 0;
    bottom: auto;
    overflow: visible;
    padding: 20px;
    border-radius: 0;
  }
  form {
    max-width: 100%;
    padding: 20px;
  }
  .form-row {
    flex-direction: column;
  }
  .form-group {
    flex: 1 1 100%;
  }
  .form-actions {
    max-width: 100%;
  }
 
}


/* Extra small devices (mobile phones) */
@media (max-width: 576px) {
 
  button[type="submit"], button[type="reset"] {
    padding: 10px 20px;
    font-size: 14px;
  }
}

