/* MCA Portal CSS - Version: 2025-09-29 22:56:16 - Cache Busted */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
 
  body{
    background-color: #501c29;
    max-height: 100vh;
    max-width: 100vw;
    overflow: hidden;
  }

  .bg-container{
    display: grid;
    grid-template-columns: 3fr 2fr;
    width: 100vw;
    min-height: 100vh;
  }



  .wrapper{
    margin-top: 7vh;
    height: 80vh;
    background: #501c29;
    color: #fff;
    padding: 60px 40px 30px; 
  }
  .login-form{
    margin: auto;
    min-width: 100px;
    max-width: 400px;
    height: 100%;
  }
  .reset-form{
    margin: auto;
    min-width: 100px;
    max-width: 400px;
    margin-bottom: 20px;
  }
  .logo {
    margin-bottom: 10px;
    width: 120px; 
    height: 120px;
    top: -40px; 
    margin-left: 200px;
    transform: translateX(-50%);
    border-radius: 50%; 
    background-color: #fff; 
    border: 3px solid #501c29; 
}
  .wrapper h1{
    font-size: 1.4vw;
    font-weight: bold;
    text-align: center;
  }
  .wrapper .input-box{
    position: relative;
    display: flex;
    width: 100%;
    height: 5vh;
    margin: 10px 0;
    justify-content: center;
  }

  .lock {
    position: absolute;
    left: 28%;
    top: -5%;
    width: 3vw; 
    height: auto;
  }
  .email {
    position: absolute;
    left: 24%;
    top: -5%;
    width: 3vw; 
    height: auto;
  }

  .input-box input{
    width: 80%;
    height: 100%;
    background: #f8f7f2;
    border: none;
    outline: none;
    border: 2px solid rgba(90, 80, 80, 0.2);
    border-radius: 40px;
    font-size: 1.2vw;
    color: #962424;
    padding: 10px;
  }
  .input-box input::placeholder{
    font-family: 'Lucida Sans', sans-serif;
    text-align: center;
    opacity: 0.7;
    font-size: 14px;
  }
  
input::placeholder {
    transition: opacity 0.3s ease;
}

input:focus::placeholder {
    opacity: 0; /* Hide placeholder on focus */
}

input:focus + .lock {
    opacity: 0; /* Hide image on focus */
}

  .login-title {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    margin-top: 15px; 
    width: 100%;
    height: 8%;
}

.user-type input[type="radio"] {
    display: none;
}

.login-title h3 {
    width: 80%;
    text-align: center;
    padding: 5px 30px;
    background-color: #ffffff38;
    color: #fff;
    border: 1px solid #ffffff4f;
    border-radius: 40px;
    transition: 0.3s ease;
}

.user-type input[type="radio"]:checked + label {
    background-color: #e0e0e0;
    color: #962424;
}


  .input-box input::placeholder{
    color: #962424;
  }
  .input-box input:focus {
    border-color: #962424; 
    box-shadow: 0 0 8px #b1b1b1;
}
  .input-box i{
    position: absolute;
    color: #962424;
    left: 50%;
    top: 30%;
    transform: translate(-50%);
    font-size: 0.9vw;
  }

  button:hover {
      background-color: #7a222b; 
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
      cursor: pointer;
  }

  .close-button {
    position: absolute;
    top: 5vh;
    right: 3vw;
    background-color: transparent;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
  }

  .hero {
    position: relative;
    flex: 2;
  }
  
  .building {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }
  
  .building-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* reusable panel */
  .hero__panel {
    position: absolute;
    left: 5%;
    right: 5%;
    padding: 1.2rem;
    background: rgba(211, 58, 58, 0.062);       /* darker backdrop */
    backdrop-filter: blur(5px);           /* subtle blur */
    border-radius: 8px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    min-width: 90%;
    max-width: 100%;
  }

  .hero__panel2 {
    position: absolute;
    left: 5%;
    right: 5%;
    padding: 1.2rem;
    background: rgba(47, 19, 172, 0.034);       /* darker backdrop */
    backdrop-filter: blur(4px);           /* subtle blur */
    border-radius: 8px;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    min-width: 90%;
    max-width: 100%;
  }

  .hero__panel3 {
    position: absolute;
    left: 5%;
    right: 5%;
    padding: 1.2rem;
    background: rgba(149, 172, 19, 0.096);       /* darker backdrop */
    backdrop-filter: blur(4px);           /* subtle blur */
    border-radius: 8px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    min-width: 90%;
    max-width: 100%;
  }
  
  /* vertical placement variants */
  .panel--top    { top: 5%;    }
  .panel--middle { top: 70%;    transform: translateY(-50%); }
  .panel--bottom { bottom: 3%; }
  
  .hero__panel h1 {
    font-size: 2rem;
    color: #6e0505;
    text-shadow: 0 1px 3px rgba(245, 245, 245, 0.8);
    margin-bottom: 0.5rem;
  }
  .hero__panel2 h1 {
    font-size: 1.5rem;
    color: #6e0505;
    text-shadow: 0 1px 3px rgba(245, 245, 245, 0.8);
    margin-bottom: 0.5rem;
  }
  .hero__panel3 h1 {
    font-size: 1.5rem;
    color: #6e0505;
    text-shadow: 0 1px 3px rgba(245, 245, 245, 0.8);
    margin-bottom: 0.5rem;
  }
  
  .hero__panel p {
    line-height: 1.5;
    margin-bottom: 1rem;
  }
  
  .btn {
    display: inline-block;
    padding: 0.4rem 0.7rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
  }
  
  .btn--primary {
    background-color: #2c7be5;
    opacity: 0.8;
    color: #fff2f2;
  }
  
  .btn--secondary {
    background-color: #d0f500;
    opacity: 0.8;
    color: #332b2b;
  }
  
  
  .form-container {
    background-color: #ffffff2d;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: #fff;
    margin: 0 auto;
  }
  .wrapper .remember-forgot{
    display: flex;
    width: 90%;
    text-align: center;
    font-size: 14.5px;
    padding: 1vh;
  }
  .remember-forgot label input{
    accent-color: #fff;
    margin-right: 3px;
  
  }
  .remember-forgot a{
    margin-left: auto; 
    color: #fff;
    text-decoration: none;
  
  }
  .remember-forgot a:hover{
    text-decoration: underline;
  }
  .wrapper .btn{
    width: 80%;
    height: 40px;
    opacity: 0.9;
    border: none;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 100;
    color: #fff;
    background: linear-gradient(135deg, #2de278, #00e04b);
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
  }


  
  .btn:hover {
    background: linear-gradient(135deg, #2de278c2, #00e04bbd);
    transform: scale(1.05);
  }
  
  /* Container for the reset form */
.reset-wrapper {
  max-width: 400px;
  margin: 2rem auto;
  background: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  color: #fff;
}

/* Form rows */

.card-header {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #fff;
}
.reset-wrapper .form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.reset-wrapper label {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.reset-wrapper input[type="email"] {
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  outline: none;
}

/* Error styling */
.reset-wrapper .is-invalid {
  border: 1px solid #e74c3c !important;
}

.reset-wrapper .invalid-feedback {
  color: #e74c3c;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

/* Your gradient button */
.btnn {
  width: 45%;
  max-width: 200px;
  height: 40px;
  border: none;
  border-radius: 50px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  letter-spacing: 2px;
  font-size: 1.0rem;
  font-weight: bold;
  font-family: 'Lucida Sans', 'Lucida Grande', sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #2de245, #13e000);
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
}

.btnn:hover {
  background: linear-gradient(135deg, #00e065, #2de27e);
  transform: scale(1.05);
}


/* Container for both reset forms */
.reset-wrapperr {
  max-width: 400px;
  margin: 1rem auto;
  background: rgba(255,255,255,0.1);
  padding: 1.3rem;
  padding-bottom: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  color: #fff;
}

/* Header styling */
.card-headerr {
  text-align: center;
  font-size: 1.1rem;
  color: #fff;
}

/* Form rows */
.reset-wrapperr .form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.1rem;
}

.reset-wrapperr label {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.reset-wrapperr input {
  padding: 0.5rem 0.8rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  outline: none;
}

/* Error styling */
.reset-wrapperr .is-invalid {
  border: 1px solid #e74c3c !important;
}

.reset-wrapperr .invalid-feedback {
  color: #e74c3c;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

/* Gradient button */
.btnnn {
  width: 40%;
  max-width: 170px;
  height: 30px;
  align-self: center;
  border: none;
  border-radius: 50px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  letter-spacing: 2px;
  font-size: 1.0rem;
  font-weight: bold;
  font-family: 'Lucida Sans', 'Lucida Grande', sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #2de245, #13e000);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btnnn:hover {
  background: linear-gradient(135deg, #00e065, #2de27e);
  transform: scale(1.05);
}


  .wrapper .register-link{
    font-size: 14.5px;
    text-align: center;
    margin: 20px 0 15px;
  
  }
  .register-link p a{
    color: #962424;
    text-decoration: none;
    font-weight: 600;
  }
  .register-link p a:hover{
    text-decoration: underline;
  }
  .divider hr {
    border: none;
    height: 2px;
    background-color: #fff;
    width: 80%;
    margin: 20px auto;
    opacity: 0.5;
}

  .error-message {
    color: #ff0000;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    margin-top: 10px;
}
.loading {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #501c29;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}


.action-buttons {
  text-align: center;
  margin-top: 10px;
}

.action-buttons p {
  margin: 10px 0;
}

.action-buttons a {
  text-decoration: none;
  font-size: 1.0rem;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
}

.btn-enroll {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: white;
}

.btn-enroll:hover {
  background: linear-gradient(135deg, #0072ff, #00c6ff);
  transform: scale(1.05);
}

.btn-assess {
  background: linear-gradient(135deg, #f7971e, #ffd200);
  color: black;
}

.btn-assess:hover {
  background: linear-gradient(135deg, #ffd200, #f7971e);
  transform: scale(1.05);
}


@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

