/* Match side image height to card */
  .login-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    min-height: 590px;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .login-image-wrapper-register {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    min-height: 792px;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .login-side-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


  .login-caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.4;
  z-index: 2;

  background: rgba(255, 255, 255, 0.15); /* transparent white */
  color: #fff;
  padding: 12px 24px; /* added more padding for bigger feel */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  width: 95%; /* wider box */
  max-width: 90%; /* almost full width */
  border: 1px solid rgba(255, 255, 255, 0.3);
}
  .login-caption-register {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.3rem;
  font-weight: 900; /* extra bold */
  line-height: 1.4;
  z-index: 2;

  background: linear-gradient(135deg, rgba(0, 80, 160, 0.4), rgba(0, 150, 255, 0.4));
  color: #fff;
  padding: 12px 24px; /* added more padding for bigger feel */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  width: 95%; /* wider box */
  max-width: 90%; /* almost full width */
  border: 1px solid rgba(255, 255, 255, 0.3);
}



.login-image-wrapper .mask {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

  .btn-primary {
    background: linear-gradient(90deg, #4e73df, #224abe);
    border: none;
    transition: all 0.3s ease-in-out;
  }

  .btn-primary:hover {
    background: linear-gradient(90deg, #224abe, #4e73df);
    transform: translateY(-1px);
  }



  .logo-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9); /* light background */
  padding: 5px;
  border-radius: 50%; /* makes it a circle */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* soft shadow */
}

.login-logo {
  max-width: 90px;
  height: auto;
}


/**
 * Floating input text design
*/


.form-floating-custom {
    position: relative;
}

.form-floating-custom input {
    padding-top: 1.2rem;
    padding-bottom: 0.5rem;
}

.form-floating-custom label {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    background: white;
    padding: 0 0.4rem;
    font-size: 0.9rem;
    color: #8898aa;
    transition: all 0.2s ease;
    pointer-events: none;
}

.form-floating-custom .input-icon-right {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8898aa;
    font-size: 1.1rem;
    pointer-events: auto;
    transition: color 0.2s ease;
    z-index: 5;
}
/* Extra padding for inputs with icons on the right */
.form-floating-custom .form-control {
  padding-right: 3rem; /* increase space for icon */
}




.form-floating-custom input:focus + label,
.form-floating-custom input:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.7rem;
    font-size: 0.75rem;
    color: #5e72e4;
}

.form-floating-custom input:focus ~ .input-icon-right {
    color: #5e72e4;
}

.form-floating-custom input::placeholder {
    color: transparent;
}

.card-container  {
  margin-top: 5.0rem;
}
.card-container-register  {
  margin-top: 6.0rem;
}
/**
 * Floating form ends
*/


.application-type-group {
  display: flex;
  gap: 1rem;
}

.application-type-card {
  flex: 1;
  padding: 1rem;
  border: 2px solid #ddd;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.application-type-card input {
  display: none;
}

.application-type-card label {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.application-type-card span {
display: block;
  font-size: 1rem;
  margin-top: 0.5rem;
  color: #666;
}

.application-type-card input:checked + label {
  border-color: #007bff;
  background: linear-gradient(135deg, #d0e8ff, #f0f8ff);
  color: #007bff;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}
/* Shake animation for invalid */
.shake {
    animation: shake 0.3s ease-in-out;
    border-color: red !important;
    background-color: #ffe6e6 !important;
}
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}


.btn-gradient {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: white;
  border: none;
  transition: 0.3s;
}
.btn-gradient:hover {
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.modal-content {
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



