/* WebApplication Specific Styles */

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 60px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* WebApp-specific typography */
h1, h4 {
    color: #1a1a1a;
}

.btn-warning {
    color: white;
    font-weight: bold;
}

/* Legacy hero section (kept for compatibility) */
.hero-section-legacy {
    background: url('../img/hero.jpg') no-repeat center center;
    background-size: cover;
    height: 600px;
    position: relative;
    padding: 60px 0;
    margin: 0 0 60px 0;
}

.hero-section-legacy .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 0;
}

.hero-section-legacy .z-1 {
    z-index: 1;
    position: relative;
}

/* Legacy button styles (kept for compatibility) */
.btn-primary-legacy {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary-legacy:hover {
    background-color: #0056b3;
    border-color: #004b9a;
}

.text-primary-legacy {
    color: #007bff !important;
}

.bg-primary-legacy {
    background-color: #007bff !important;
}

.bi {
    vertical-align: middle;
    color: #007bff;
}