html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}

html {
  position: relative;
  min-height: 100%;
}

/* Custom Styles for 4 Aviators */
body {
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background-color: #002D62; /* Navy Blue */
    border: none;
    border-radius: 0; /* Professional sharp edges */
    transition: 0.3s;
}

    .btn-primary:hover {
        background-color: #001a3a;
        transform: translateY(-2px);
    }

.hero-section h1 {
    letter-spacing: 2px;
}

.navbar-brand {
    font-weight: 900;
    letter-spacing: 1px;
}

.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;
}

/* Dashboard admin cards styling */
.admin-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border-width: 1px !important;
    border-color: var(--bs-primary, #0d6efd) !important;
}
.admin-card .card-body .text-primary { color: var(--bs-primary, #0d6efd) !important; }
.admin-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(13,110,253,0.08);
}

/* Moved from view-specific style blocks */
.bg-success-soft { background-color: #e8f5e9; }
.x-small { font-size: 0.65rem; }
.extra-small { font-size: 0.68rem; text-transform: uppercase; color: #6c757d; display: block; }
.bg-soft-dark { background-color: rgba(33,37,41,0.05); }
.btn-white { background-color: #fff; border-color: #dee2e6; }
.btn-white:hover { background-color: #f8f9fa; }

/* typography helpers */
.fw-black { font-weight: 900; }
.tracking-tight { letter-spacing: -2px; }
.tracking-wider, .ls-2 { letter-spacing: 2px; }

/* hover helpers used across views */
.hover-up { transition: transform 0.3s ease; }
.hover-up:hover { transform: translateY(-5px); }
.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-8px); box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important; }
.transition { transition: all 0.3s ease; }
.hover-opacity-100:hover { opacity: 1 !important; }

/* responsive border helpers */
.border-md-start { border-left: 1px solid rgba(255,255,255,0.1); }
.border-md-end { border-right: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 768px) {
    .border-md-start { border-left: 1px solid rgba(255,255,255,0.1) !important; }
    .border-md-end { border-right: 1px solid rgba(255,255,255,0.1) !important; }
}

/* small table & badge tweaks moved from type-specific views */
.table thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: #6c757d; }
.table-hover tbody tr { transition: background-color 0.2s ease; }
.badge { font-weight: 600; }

/* Upload form helpers */
.transition-all { transition: all 0.3s ease-in-out; }
.border-warning-custom { border: 3px solid #ffc107 !important; border-radius: 8px; }

/* Form & card micro-interactions */
.form-control:focus, .form-select:focus { border-color: #0d6efd; box-shadow: 0 0 0 0.25rem rgba(13,110,253,0.1); }
.card { transition: transform 0.2s; }
.sponsor-entry:hover { transform: translateY(-2px); }
.input-group-text { transition: all 0.3s ease; }

/* Breadcrumb separator used in admin views */
.breadcrumb-item + .breadcrumb-item::before { content: "›"; font-size: 1.2rem; }

/* About section image and icon tweaks */
.about-image {
    max-width: 100%;
    height: auto;
    display: block;
}
.about-icon {
    right: -18px; /* nudge icon slightly outside the image edge */
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-icon i { font-size: 1.4rem; }

/* Floating action buttons in the home view */
.floating-actions {
    position: fixed;
    right: 24px;
    bottom: 32px;
    z-index: 2000;
    align-items: center;
}
.floating-actions .btn {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.floating-actions .btn i { font-size: 1.1rem; }

/* simple fade-in helper */
.fade-in { opacity: 1; transition: opacity 240ms ease-in; }
.floating-actions { opacity: 0; transition: opacity 180ms ease-out; }
