.floating-label-container {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.floating-input {
  border-radius: 12px !important;
  padding: 20px 16px 12px 16px !important;
  font-size: 16px !important;
  border-color: #e9ecef !important;
  background-color: transparent !important;
  color: #ffffff !important;
  transition: all 0.2s ease-in-out !important;
  position: relative;
  width: 100% !important;
  line-height: 1.5 !important;
}

.floating-input:focus::before,
.floating-input:not(:placeholder-shown)::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 12px;
  width: calc(100% - 24px);
  height: 4px;
  background: linear-gradient(
    to right,
    transparent 0%,
    transparent 20px,
    #000000 20px,
    #000000 calc(20px + 8ch),
    transparent calc(20px + 8ch),
    transparent 100%
  );
  z-index: 2;
}

.floating-input:focus {
  border-color: #0d6efd !important;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25) !important;
  outline: none !important;
}

.floating-input.is-invalid {
  border-color: #dc3545 !important;
}

.floating-input.is-invalid:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
  outline: none !important;
}

.floating-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: #e9ecef;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.2s ease-in-out;
  pointer-events: none;
  padding: 0 4px;
  z-index: 1;
}

.floating-input:focus + .floating-label,
.floating-input:not(:placeholder-shown) + .floating-label {
  top: 0;
  transform: translateY(-50%);
  font-size: 12px;
  color: #e9ecef;
  background-color: #1D2645;
}

.floating-input.is-invalid:focus + .floating-label {
  color: #dc3545 !important;
  background-color: #1D2645;
}

.floating-input.is-invalid:not(:placeholder-shown) + .floating-label {
  color: #dc3545 !important;
  background-color: #1D2645;
}

.floating-input:disabled {
  background-color: #f8f9fa !important;
  opacity: 0.7;
}

.floating-input:disabled + .floating-label {
  color: #6c757d;
}

.form-select option {
  background-color: #2a3c5a !important;
  color: #e9ecef !important;
  padding: 8px 12px !important;
}

.logo-container {
  width: 45px;
  height: 45px;
}

.logo-img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

@media (min-width: 576px) {
  .logo-container {
    width: 50px;
    height: 50px;
  }
  
  .logo-img {
    width: 30px;
    height: 30px;
  }
}

@media (min-width: 992px) {
  .logo-container {
    width: 60px;
    height: 60px;
  }
  
  .logo-img {
    width: 35px;
    height: 35px;
  }
}

.btn-custom {
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  min-height: 44px;
}

@media (min-width: 576px) {
  .btn-custom {
    font-size: 1rem;
    padding: 12px 24px;
    min-width: 140px;
  }
}

@media (min-width: 768px) {
  .btn-custom {
    font-size: 1.1rem;
    padding: 14px 28px;
    min-width: 150px;
  }
}

@media (min-width: 992px) {
  .btn-custom {
    font-size: 1.1rem;
    padding: 14px 32px;
    min-width: 160px;
  }
}

.btn-custom:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-custom:active {
  transform: translateY(0);
}

@media (max-width: 575.98px) {
  .min-vh-100 {
    padding: 20px 0;
    align-items: flex-start !important;
  }
  .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}
