/* -------------------- Root Variables -------------------- */
:root {
  --scale: 0.9;  /* Adjust scaling (e.g., 0.8 = 80%) */
}

/* -------------------- Global Resets -------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

/* -------------------- Page Layout -------------------- */
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  padding: 24px;
  margin-top: 10px; /* same or slightly more than .topbar height */
}

/* -------------------- Top Navigation Bar -------------------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(9, 1, 0, 0.75);
  padding: 10px 20px;
  z-index: 1000;
  height: 70px;
  display: flex;
  justify-content: center; /* centers the links horizontally */
  align-items: center; /* vertically aligns them */
  gap: 30px; /* space between links */
}

.topbar a {
  color: #e0e0ff; /* soft blue */
  text-decoration: none;
  font-size: 24px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.topbar a:hover {
  color: #66b3ff; /* lighter blue on hover */
  text-decoration: underline;
}

/* -------------------- Main Wrapper -------------------- */
.wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: auto;
}

/* -------------------- Main Container -------------------- */
.container {
  padding-left: 0;
  transform: scale(var(--scale));
  transform-origin: center;
  display: flex;
  flex-direction: row;
  width: 80%;
  max-width: 1000px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 3px solid #0f9d58; /* green edge */
}

/* -------------------- Form Section -------------------- */
.form-container {
  order: 2;
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /*border:3px solid red;*/
 
  
}

.logo {

 /* border:3px solid #0f9d58;*/
   padding-top:2px;
   margin-top:2px;
   width:100%;
   height:auto;
   
   
}

.logo img {
  width:100%;
  height:auto;
   display:inline-block;
   
}


h2 {
  color: #3c2d57;
  margin-bottom: 8px;
  font-size: 22px;
}

p.lead {
  color: #666;
  margin-bottom: 10px;
}

.input-group {
  margin-bottom: 16px;
}

.input-group label {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
  color: #333;
}

.input-group input {
  width: 100%;
  height: 40px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  background: #fff;
  transition: box-shadow .18s, border-color .18s, background .18s;
  outline: none;
}

/* Green border + glow when focused */
.input-group input:focus {
  border-color: #006c4f;
  box-shadow: 0 0 8px rgba(0, 108, 79, 0.22);
  background: #fff;
}

/* -------------------- Options Section -------------------- */
.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 16px;
  color: #444;
}

.options label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.options a {
  color: #d9534f;
  text-decoration: none;
}

/* -------------------- Buttons -------------------- */
.btn {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  border: none;
}

.btn-login {
  background: #006c4f;
  color: #fff;
  margin-bottom: 10px;
}

.btn-login:hover {
  background: #00563f;
}

.btn-outline {
  background: #fff;
  color: #006c4f;
  border: 1px solid #006c4f;
}

.btn-outline:hover {
  background: #f0fdfa;
}

/* -------------------- Misc Elements -------------------- */
.terms {
  font-size: 12px;
  color: #888;
  margin-top: 14px;
}

.reValidationLink {
  font-size: 24px;
  margin-top: 14px;
  display: inline-block;
}

/* -------------------- Global Link Styles -------------------- */
a {
  color: #0d6efd; /* Bootstrap blue */
  text-decoration: none;
}

a:hover {
  color: #ee0000 !important; /* red on hover */
  text-decoration: underline;
}

/*a:visited {
  color: #6610f2;  purple for visited 
}*/

/* -------------------- Image Section -------------------- */
.image-container {
  order: 1;
  flex: 1;
  min-width: 300px;
  height: auto;
  position: relative;
  
}



.overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffcc00;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* -------------------- Responsive Design -------------------- */
@media (max-width: 900px) {
  .container {
    transform: scale(1);
    width: 100%;
    flex-direction: column;
    max-width: 700px;
    padding-right: 0;
  }

  .image-container {
    order: 1;
    height: 180px;
    overflow:hidden;
  }
  
  .image-container img {
    width:100%;
    height:auto;
    
}

  .form-container {
    order: 2;
    padding: 28px;
  }
  .logo {
    width :100%;
    height:140px;
  }
  .logo img {
    max-width: 90%; /* smaller on phones */
    height:auto;
  }
   .topbar a {
      font-size:20px;
  }
}

@media (max-width: 420px) {
  .form-container {
    padding: 10px;
  }
  
  .image-container {
    order: 1;
    height: 150px;
    overflow:hidden;
  }
  
  .image-container img {
    width:100%;
    height:auto;
    
}

  .logo {
    width :100%;
    height:90px;
  }
  .logo img {
    max-width: 100%; /* smaller on phones */ 
    height:auto;
  }
  
  .topbar a {
      font-size:16px;
  }

  h2 {
    font-size: 20px;
  }
}
