* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f3f6fb;
    color: #0f172a;
}

.app-shell {
    min-height: 100vh;
    display: flex;
}

.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #001b3f, #020617);
    color: white;
    padding: 24px 16px;
}

.brand {
    text-align: center;
    margin-bottom: 36px;
}

.brand .plane {
    font-size: 48px;
}

.brand strong {
    display: block;
    font-size: 24px;
}

.brand small {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sidebar nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    margin-bottom: 8px;
    color: white;
    text-decoration: none;
    border-radius: 12px;
}

.sidebar nav a:hover {
    background: #0d6efd;
}

.content {
    flex: 1;
    padding: 24px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.topbar h1 {
    margin: 0;
    font-size: 26px;
}

.topbar p {
    margin: 6px 0 0;
    color: #64748b;
}

.bell {
    border: none;
    background: white;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.card {
    color: white;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .12);
}

.card i {
    font-size: 34px;
}

.card strong {
    display: block;
    font-size: 32px;
}

.card span {
    font-size: 14px;
}

.blue {
    background: linear-gradient(135deg, #0d6efd, #0546a0);
}

.green {
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.purple {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

.orange {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.panel {
    background: white;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h2 {
    font-size: 18px;
}

.panel-header a {
    color: #0d6efd;
    text-decoration: none;
    font-size: 14px;
}

.flight-row {
    display: grid;
    grid-template-columns: 70px 1.5fr 1fr 1.5fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid #e5e7eb;
}

.aircraft-img {
    width: 58px;
    height: 58px;
    background: #dbeafe;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 28px;
}

.flight-row strong {
    display: block;
}

.flight-row span {
    color: #64748b;
    font-size: 13px;
}

.status {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
}

.approved {
    background: #dcfce7;
    color: #15803d;
}

.pending {
    background: #dbeafe;
    color: #1d4ed8;
}

.bottom-nav {
    display: none;
}

@media (max-width: 900px) {
    .app-shell {
        display: block;
        padding-bottom: 76px;
    }

    .sidebar {
        display: none;
    }

    .content {
        padding: 0;
    }

    .topbar {
        background: linear-gradient(180deg, #001b3f, #020617);
        color: white;
        padding: 20px;
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }

    .topbar p {
        color: #cbd5e1;
    }

    .page {
        padding: 16px;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .card {
        padding: 16px;
        border-radius: 14px;
    }

    .card strong {
        font-size: 24px;
    }

    .flight-row {
        grid-template-columns: 54px 1fr auto;
        gap: 10px;
    }

    .flight-row > div:nth-child(3),
    .flight-row > div:nth-child(4) {
        display: none;
    }

    .aircraft-img {
        width: 50px;
        height: 50px;
    }

    .bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: 68px;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        background: #020617;
        border-top: 1px solid rgba(255,255,255,.08);
        z-index: 50;
    }

    .bottom-nav a {
        color: white;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        font-size: 11px;
    }

    .bottom-nav i {
        font-size: 18px;
    }
}
.login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #001b3f, #020617);
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 24px 60px rgba(0,0,0,.25);
}

.login-logo {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: #dbeafe;
    display: grid;
    place-items: center;
    font-size: 36px;
    margin-bottom: 18px;
}

.login-card h1 {
    margin: 0;
    color: #0f172a;
}

.login-card p {
    color: #64748b;
    margin-bottom: 24px;
}

.login-card label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 6px;
    color: #334155;
}

.login-card input {
    width: 100%;
    height: 48px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 0 14px;
    margin-bottom: 16px;
    font-size: 15px;
}

.login-card button {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 14px;
    background: #0d6efd;
    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

.login-card small {
    display: block;
    margin-top: 18px;
    color: #64748b;
    text-align: center;
}

.alert-error {
    padding: 12px;
    border-radius: 12px;
    background: #fee2e2;
    color: #b91c1c;
    margin-bottom: 16px;
    font-size: 14px;
}

.welcome-card {
    background: white;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-card h2 {
    margin: 0 0 6px;
}

.welcome-card p {
    margin: 0;
    color: #64748b;
}

.btn-logout {
    background: #fee2e2;
    color: #b91c1c;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 14px;
}

.empty-state {
    padding: 36px 20px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #64748b;
}

.empty-state i {
    font-size: 36px;
    color: #0d6efd;
    margin-bottom: 12px;
}

.empty-state strong {
    color: #0f172a;
    margin-bottom: 4px;
}

.module-header {
    background: white;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.module-header h2,
.form-header h2 {
    margin: 0 0 6px;
}

.module-header p,
.form-header p {
    margin: 0;
    color: #64748b;
}

.btn-primary,
.btn-secondary {
    border: none;
    text-decoration: none;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: bold;
    cursor: pointer;
}

.btn-primary {
    background: #0d6efd;
    color: white;
}

.btn-secondary {
    background: #e2e8f0;
    color: #0f172a;
}

.aircraft-list {
    display: grid;
    gap: 14px;
}

.aircraft-card {
    background: white;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    display: grid;
    grid-template-columns: 92px 1fr auto;
    align-items: center;
    gap: 16px;
}

.aircraft-photo {
    width: 92px;
    height: 72px;
    border-radius: 14px;
    background: #dbeafe;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #0d6efd;
    font-size: 32px;
}

.aircraft-photo img,
.current-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aircraft-info strong {
    display: block;
    font-size: 18px;
}

.aircraft-info span {
    display: block;
    color: #334155;
    margin-top: 4px;
}

.aircraft-info small {
    display: block;
    color: #64748b;
    margin-top: 5px;
}

.aircraft-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.aircraft-status {
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    font-weight: bold;
}

.status-active {
    background: #dcfce7;
    color: #15803d;
}

.status-maintenance {
    background: #ffedd5;
    color: #c2410c;
}

.status-unavailable {
    background: #fee2e2;
    color: #b91c1c;
}

.status-inactive {
    background: #e2e8f0;
    color: #475569;
}

.icon-btn {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eff6ff;
    color: #0d6efd;
    text-decoration: none;
}

.icon-btn.danger {
    background: #fee2e2;
    color: #b91c1c;
}

.form-panel {
    background: white;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    max-width: 720px;
}

.form-header {
    margin-bottom: 20px;
}

.app-form label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #334155;
    margin: 14px 0 6px;
}

.app-form input,
.app-form select,
.app-form textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 13px;
    min-height: 46px;
    padding: 0 13px;
    font-size: 15px;
    font-family: inherit;
}

.app-form textarea {
    padding-top: 12px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.current-photo {
    width: 160px;
    height: 110px;
    border-radius: 14px;
    overflow: hidden;
    background: #e2e8f0;
    margin: 10px 0;
}

@media (max-width: 900px) {
    .module-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .module-header .btn-primary {
        width: 100%;
    }

    .aircraft-card {
        grid-template-columns: 76px 1fr;
    }

    .aircraft-photo {
        width: 76px;
        height: 64px;
    }

    .aircraft-actions {
        grid-column: 1 / -1;
        justify-content: space-between;
    }

    .form-panel {
        padding: 18px;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions a,
    .form-actions button {
        width: 100%;
    }
}

.simple-list {
    display: grid;
    gap: 14px;
}

.simple-card {
    background: white;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 16px;
}

.simple-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #dbeafe;
    color: #0d6efd;
    display: grid;
    place-items: center;
    font-size: 26px;
}

.simple-info strong {
    display: block;
    font-size: 17px;
}

.simple-info span {
    display: block;
    color: #334155;
    margin-top: 4px;
}

.simple-info small {
    display: block;
    color: #64748b;
    margin-top: 5px;
}

.simple-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 900px) {
    .simple-card {
        grid-template-columns: 58px 1fr;
    }

    .simple-actions {
        grid-column: 1 / -1;
        justify-content: space-between;
    }
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.check-list {
    display: grid;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 12px;
    max-height: 220px;
    overflow: auto;
}

.check-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: normal;
    color: #334155;
}

.check-list input {
    width: auto;
    min-height: auto;
}

.status-pending {
    background: #dbeafe;
    color: #1d4ed8;
}

@media (max-width: 900px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.calendar-toolbar {
    background: white;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.filter-panel {
    background: white;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-panel label {
    font-weight: bold;
    color: #334155;
}

.filter-panel select {
    min-height: 42px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    padding: 0 12px;
}

.legend {
    background: white;
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #334155;
}

.dot {
    width: 11px;
    height: 11px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 5px;
}

.approved-dot { background: #16a34a; }
.requested-dot { background: #2563eb; }
.block-dot { background: #dc2626; }
.free-dot { background: #94a3b8; }

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-head {
    text-align: center;
    font-weight: bold;
    color: #475569;
    padding: 8px;
}

.calendar-day {
    min-height: 130px;
    background: white;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    overflow: hidden;
}

.calendar-day.empty {
    background: transparent;
    box-shadow: none;
}

.day-number {
    font-weight: bold;
    color: #0f172a;
    margin-bottom: 8px;
}

.calendar-event {
    font-size: 11px;
    padding: 6px 7px;
    border-radius: 9px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-approved {
    background: #dcfce7;
    color: #15803d;
}

.event-requested {
    background: #dbeafe;
    color: #1d4ed8;
}

.event-block,
.event-cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

.event-completed {
    background: #e2e8f0;
    color: #475569;
}

.calendar-free {
    color: #94a3b8;
    font-size: 12px;
}

.availability-panel {
    background: white;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
}

.availability-panel h3 {
    margin-top: 0;
}

.availability-list {
    display: grid;
    gap: 10px;
}

.availability-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    background: #f8fafc;
}

.availability-date strong {
    display: block;
    font-size: 20px;
}

.availability-date span {
    font-size: 12px;
    color: #64748b;
}

.availability-content {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.free-label,
.flight-label,
.busy-label {
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
}

.free-label {
    background: #dcfce7;
    color: #15803d;
}

.flight-label {
    background: #dbeafe;
    color: #1d4ed8;
}

.busy-label {
    background: #fee2e2;
    color: #b91c1c;
}

.danger-icon {
    background: #fee2e2;
    color: #b91c1c;
}

@media (max-width: 900px) {
    .calendar-toolbar {
        flex-direction: column;
    }

    .calendar-toolbar a,
    .calendar-toolbar strong {
        width: 100%;
        text-align: center;
    }

    .filter-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .calendar-grid {
        gap: 6px;
    }

    .calendar-head {
        font-size: 11px;
        padding: 4px;
    }

    .calendar-day {
        min-height: 92px;
        border-radius: 12px;
        padding: 7px;
    }

    .calendar-event {
        font-size: 10px;
        padding: 5px;
    }

    .availability-row {
        grid-template-columns: 58px 1fr;
    }

    .header-actions {
        width: 100%;
        flex-direction: column;
    }

    .header-actions a {
        width: 100%;
    }
}

.header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.calendar-toolbar {
    background: white;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.filter-panel {
    background: white;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-panel label {
    font-weight: bold;
    color: #334155;
}

.filter-panel select {
    min-height: 42px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    padding: 0 12px;
}

.legend {
    background: white;
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #334155;
}

.dot {
    width: 11px;
    height: 11px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 5px;
}

.approved-dot { background: #16a34a; }
.requested-dot { background: #2563eb; }
.block-dot { background: #dc2626; }
.free-dot { background: #94a3b8; }

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-head {
    text-align: center;
    font-weight: bold;
    color: #475569;
    padding: 8px;
}

.calendar-day {
    min-height: 130px;
    background: white;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    overflow: hidden;
}

.calendar-day.empty {
    background: transparent;
    box-shadow: none;
}

.day-number {
    font-weight: bold;
    color: #0f172a;
    margin-bottom: 8px;
}

.calendar-event {
    font-size: 11px;
    padding: 6px 7px;
    border-radius: 9px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-approved {
    background: #dcfce7;
    color: #15803d;
}

.event-requested {
    background: #dbeafe;
    color: #1d4ed8;
}

.event-block,
.event-cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

.event-completed {
    background: #e2e8f0;
    color: #475569;
}

.calendar-free {
    color: #94a3b8;
    font-size: 12px;
}

.availability-panel {
    background: white;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
}

.availability-panel h3 {
    margin-top: 0;
}

.availability-list {
    display: grid;
    gap: 10px;
}

.availability-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    background: #f8fafc;
}

.availability-date strong {
    display: block;
    font-size: 20px;
}

.availability-date span {
    font-size: 12px;
    color: #64748b;
}

.availability-content {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.free-label,
.flight-label,
.busy-label {
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
}

.free-label {
    background: #dcfce7;
    color: #15803d;
}

.flight-label {
    background: #dbeafe;
    color: #1d4ed8;
}

.busy-label {
    background: #fee2e2;
    color: #b91c1c;
}

.danger-icon {
    background: #fee2e2;
    color: #b91c1c;
}

@media (max-width: 900px) {
    .calendar-toolbar {
        flex-direction: column;
    }

    .calendar-toolbar a,
    .calendar-toolbar strong {
        width: 100%;
        text-align: center;
    }

    .filter-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .calendar-grid {
        gap: 6px;
    }

    .calendar-head {
        font-size: 11px;
        padding: 4px;
    }

    .calendar-day {
        min-height: 92px;
        border-radius: 12px;
        padding: 7px;
    }

    .calendar-event {
        font-size: 10px;
        padding: 5px;
    }

    .availability-row {
        grid-template-columns: 58px 1fr;
    }

    .header-actions {
        width: 100%;
        flex-direction: column;
    }

    .header-actions a {
        width: 100%;
    }
}

.small-grid {
    grid-template-columns: repeat(2, 1fr);
}

.mini-card {
    background: white;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
}

.mini-card i {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #dbeafe;
    color: #0d6efd;
    font-size: 22px;
}

.mini-card.warning i {
    background: #ffedd5;
    color: #c2410c;
}

.mini-card strong {
    display: block;
    font-size: 26px;
}

.mini-card span {
    color: #64748b;
    font-size: 14px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 18px;
}

.dash-list {
    display: grid;
    gap: 12px;
}

.dash-row {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #e5e7eb;
}

.dash-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #dbeafe;
    color: #0d6efd;
    display: grid;
    place-items: center;
    font-size: 20px;
}

.dash-icon.warning {
    background: #ffedd5;
    color: #c2410c;
}

.dash-info strong {
    display: block;
}

.dash-info span {
    display: block;
    margin-top: 3px;
    color: #334155;
    font-size: 13px;
}

.dash-info small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
}

@media (max-width: 900px) {
    .small-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dash-row {
        grid-template-columns: 48px 1fr;
    }

    .dash-row .aircraft-status {
        grid-column: 1 / -1;
        width: fit-content;
    }
}

.calendar-event {
    white-space: normal !important;
    line-height: 1.25;
}

.calendar-free {
    display: inline-block;
    padding: 5px 7px;
    border-radius: 8px;
    background: #f1f5f9;
}

.restricted-grid {
    grid-template-columns: repeat(2, 1fr);
}

.dashboard-grid-single {
    grid-template-columns: 1fr;
}

@media (max-width: 900px) {
    .restricted-grid {
        grid-template-columns: 1fr;
    }
}

.pwa-install-box {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 84px;
    background: #001b3f;
    color: white;
    border-radius: 18px;
    padding: 14px;
    z-index: 9999;
    box-shadow: 0 20px 50px rgba(0,0,0,.28);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pwa-install-box strong {
    display: block;
    font-size: 15px;
}

.pwa-install-box span {
    display: block;
    font-size: 12px;
    color: #cbd5e1;
}

.pwa-install-box button {
    border: none;
    background: #0d6efd;
    color: white;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
}

.pwa-install-box .pwa-close {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    font-size: 20px;
}

@media (min-width: 901px) {
    .pwa-install-box {
        left: auto;
        right: 24px;
        bottom: 24px;
        width: 390px;
    }
}

.icon-btn.success {
    background: #dcfce7;
    color: #15803d;
}

.bell-link {
    text-decoration: none;
    color: inherit;
    position: relative;
    display: grid;
    place-items: center;
}

.bell-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    border-radius: 999px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 11px;
    display: grid;
    place-items: center;
    font-weight: bold;
}

.notification-card {
    text-decoration: none;
    color: inherit;
}

/* FIX BELL MOBILE */
.bell,
.bell-link {
    position: relative;
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 50%;
    background: #ffffff !important;
    color: #001b3f !important;
    display: grid !important;
    place-items: center !important;
    text-decoration: none !important;
    border: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .14);
}

.bell i,
.bell-link i {
    color: #001b3f !important;
    font-size: 22px !important;
    display: inline-block !important;
    line-height: 1 !important;
}

.bell-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: #ffffff;
    border-radius: 999px;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    font-size: 12px;
    display: grid;
    place-items: center;
    font-weight: bold;
    border: 2px solid #001b3f;
}

@media (max-width: 900px) {
    .topbar {
        align-items: flex-start;
    }

    .bell,
    .bell-link {
        margin-top: 4px;
    }
}

/* =====================================================
   FIX BOTTOM NAV MOBILE
   ===================================================== */

.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex !important;
    justify-content: space-evenly !important;
    align-items: center !important;

    width: 100%;
    padding: 0;
    margin: 0;

    background: #001b3f;
    z-index: 999;
}

.bottom-nav a {
    flex: 1 1 0 !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;

    text-align: center;
    text-decoration: none;

    min-width: 0;
    padding: 10px 0;
}

.bottom-nav a i {
    display: block;
    font-size: 22px;
    margin-bottom: 4px;
}

.bottom-nav a span {
    display: block;
    font-size: 12px;
    line-height: 1.1;
}

.bottom-nav a:only-child {
    flex: 1;
}

/*
| Remove qualquer grid antiga
*/
.bottom-nav,
.bottom-nav.mobile-nav {
    grid-template-columns: unset !important;
    grid-auto-columns: unset !important;
    grid-auto-flow: unset !important;
}

/*
| Corrige quando existem 4 itens
*/
.bottom-nav a:nth-child(1):nth-last-child(4),
.bottom-nav a:nth-child(2):nth-last-child(3),
.bottom-nav a:nth-child(3):nth-last-child(2),
.bottom-nav a:nth-child(4):nth-last-child(1) {
    width: 25%;
}

/*
| Corrige quando existem 5 itens
*/
.bottom-nav a:nth-child(1):nth-last-child(5),
.bottom-nav a:nth-child(2):nth-last-child(4),
.bottom-nav a:nth-child(3):nth-last-child(3),
.bottom-nav a:nth-child(4):nth-last-child(2),
.bottom-nav a:nth-child(5):nth-last-child(1) {
    width: 20%;
}

@media (min-width: 901px) {
    .bottom-nav {
        display: none !important;
    }
}

/* =====================================================
   FIX HEADER MOBILE ESTILO APP
   ===================================================== */

@media (max-width: 900px) {

    .content {
        padding-top: 126px !important;
        padding-bottom: 86px !important;
    }

    .topbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;

        z-index: 1000 !important;

        background: #001b3f !important;
        color: #ffffff !important;

        border-radius: 0 0 24px 24px !important;
        padding: 24px 22px !important;

        box-shadow: 0 12px 35px rgba(0, 0, 0, .22) !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .topbar h1 {
        color: #ffffff !important;
        margin: 0 !important;
        font-size: 28px !important;
        line-height: 1.1 !important;
    }

    .topbar p {
        color: #dbeafe !important;
        margin: 8px 0 0 !important;
        font-size: 17px !important;
    }

    .bell,
    .bell-link {
        background: #ffffff !important;
        color: #001b3f !important;
        width: 62px !important;
        height: 62px !important;
        min-width: 62px !important;
        border-radius: 50% !important;
        display: grid !important;
        place-items: center !important;
        box-shadow: none !important;
    }

    .bell i,
    .bell-link i {
        color: #001b3f !important;
        font-size: 24px !important;
    }

    .bell-badge {
        top: -2px !important;
        right: -2px !important;
        border: 2px solid #001b3f !important;
    }

    .page {
        padding-top: 20px !important;
    }

    .sidebar {
        display: none !important;
    }

    .app-shell {
        display: block !important;
    }
}

.calendar-day-link {
    color: inherit !important;
    text-decoration: none !important;
    display: block !important;
}

.calendar-detail-card {
    margin-bottom: 14px;
}

.icon-btn.success {
    background: #dcfce7;
    color: #15803d;
}

/* SYSTEM MESSAGE */
.system-message-wrap {
    min-height: 55vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.system-message-card {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 16px 45px rgba(15, 23, 42, .10);
}

.system-message-icon {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    font-size: 32px;
    background: #dbeafe;
    color: #0d6efd;
}

.system-message-icon.danger {
    background: #fee2e2;
    color: #b91c1c;
}

.system-message-icon.warning {
    background: #fef3c7;
    color: #b45309;
}

.system-message-icon.success {
    background: #dcfce7;
    color: #15803d;
}

.system-message-card h2 {
    margin: 0 0 10px;
    color: #001b3f;
}

.system-message-card p {
    color: #475569;
    font-size: 16px;
    margin-bottom: 22px;
}

.profile-preview {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.profile-preview img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #dbeafe;
}

.passenger-avatar {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #dbeafe;
    color: #0d6efd;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
    font-size: 22px;
}

.passenger-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar-list {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #dbeafe;
    color: #0d6efd;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
    font-size: 22px;
}

.user-avatar-list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shareholder-avatar {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #dbeafe;
    color: #0d6efd;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
    font-size: 22px;
}

.shareholder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-register-box {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.login-register-box span {
    display: block;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 8px;
}

.login-register-box a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #f1f5f9;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 14px;
}

.login-register-box a:hover {
    background: #dbeafe;
}

/* ===== NOVA LOGO ESCALA DE VOO ===== */

.brand{
    text-align:center;
    padding:20px 10px;
}

.logo-desktop{
    width:180px;
    display:block;
    margin:auto;
}

.logo-mobile{
    display:none;
    width:60px;
    margin:auto;
}

@media(max-width:768px){

    .logo-desktop{
        display:none;
    }

    .logo-mobile{
        display:block;
    }
}

.login-logo-img {
    width: 84px;
    height: 84px;
    margin-bottom: 20px;
}

.login-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.login-logo-horizontal {
    display: block;
    width: 260px;
    max-width: 100%;
    margin: 0 0 18px;
}

@media (max-width: 768px) {
    .login-logo-horizontal {
        display: none;
    }
}

/* =====================================================
   LOGO ESCALA DE VOO - GLOBAL
   ===================================================== */

.brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px 14px !important;
}

.app-logo {
    display: block !important;
    object-fit: contain !important;
}

.app-logo-full {
    width: 190px !important;
    max-width: 100% !important;
    height: auto !important;
}

.app-logo-icon {
    display: none !important;
    width: 58px !important;
    height: 58px !important;
    object-fit: contain !important;
}

.login-brand {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin-bottom: 20px !important;
}

.login-brand img {
    width: 230px !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
}

.login-logo,
.login-logo-img,
.login-logo-horizontal {
    display: none !important;
}

@media (max-width: 900px) {
    .brand {
        padding: 14px 8px !important;
    }

    .app-logo-full {
        display: none !important;
    }

    .app-logo-icon {
        display: block !important;
        width: 58px !important;
        height: 58px !important;
    }

    .login-brand {
        justify-content: flex-start !important;
    }

    .login-brand img {
        width: 210px !important;
    }
}


/* =====================================================
   CENTRALIZAÇÃO GLOBAL DA LOGO
   ===================================================== */

.brand {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 20px 10px !important;
}

.brand img,
.brand-logo,
.app-logo,
.app-logo-full,
.app-logo-icon {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    object-fit: contain !important;
}

.sidebar .brand {
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

.login-brand {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto 24px auto !important;
}

.login-brand img {
    display: block !important;
    margin: 0 auto !important;
    max-width: 260px !important;
    height: auto !important;
    object-fit: contain !important;
}

.login-card .login-brand,
.login-wrap .login-brand {
    justify-content: center !important;
    text-align: center !important;
}

@media (max-width: 900px) {
    .brand {
        justify-content: center !important;
        align-items: center !important;
        padding: 14px 8px !important;
    }

    .brand img,
    .app-logo,
    .app-logo-icon,
    .app-logo-full {
        margin: 0 auto !important;
    }

    .login-brand {
        justify-content: center !important;
    }

    .login-brand img {
        max-width: 220px !important;
    }
}


/* FIX LOGO DUPLICADA */
.brand .app-logo-icon {
    display: none !important;
}

.brand img:not(:first-child) {
    display: none !important;
}

.brand .app-logo-full {
    display: block !important;
    width: 180px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

@media (max-width: 900px) {
    .brand .app-logo-full {
        width: 64px !important;
    }
}

.aircraft-photo-card {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: #dbeafe;
    color: #0d6efd;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
    font-size: 26px;
}

.aircraft-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.schedule-card {
    align-items: center;
}

/* =====================================================
   AGENDA VISUAL PROFISSIONAL
   ===================================================== */

.schedule-module-header {
    align-items: center;
}

.schedule-flight-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.schedule-flight-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 22px;
    display: grid;
    grid-template-columns: 210px 1fr 180px;
    gap: 26px;
    align-items: center;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
}

.schedule-aircraft-photo {
    width: 210px;
    height: 150px;
    border-radius: 18px;
    background: #dbeafe;
    color: #0d6efd;
    display: grid;
    place-items: center;
    overflow: hidden;
    font-size: 42px;
}

.schedule-aircraft-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.schedule-flight-main {
    min-width: 0;
}

.schedule-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.schedule-title-row h3 {
    margin: 0 0 12px;
    font-size: 24px;
    color: #001b3f;
    letter-spacing: -.02em;
}

.schedule-title-row h3 span {
    color: #64748b;
}

.schedule-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    color: #334155;
    font-size: 15px;
}

.schedule-meta-line span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.schedule-meta-line i {
    color: #0d6efd;
}

.schedule-status {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 800;
    font-size: 14px;
}

.schedule-status-approved {
    background: #dcfce7;
    color: #15803d;
}

.schedule-status-requested {
    background: #dbeafe;
    color: #0d6efd;
}

.schedule-status-completed {
    background: #e2e8f0;
    color: #475569;
}

.schedule-status-cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

.schedule-date-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 26px;
    max-width: 520px;
}

.schedule-date-box {
    border-left: 3px solid #e2e8f0;
    padding-left: 18px;
}

.schedule-date-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    letter-spacing: .03em;
}

.schedule-date-box.departure .schedule-date-title {
    color: #0d6efd;
}

.schedule-date-box.return .schedule-date-title {
    color: #16a34a;
}

.schedule-date-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #001b3f;
    font-size: 16px;
    margin-top: 8px;
}

.schedule-date-item i {
    color: #64748b;
}

.schedule-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.schedule-action {
    min-height: 44px;
    border-radius: 13px;
    padding: 10px 14px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
}

.schedule-action.edit {
    background: #dbeafe;
    color: #0d6efd;
}

.schedule-action.delete,
.schedule-action.reject {
    background: #fee2e2;
    color: #dc2626;
}

.schedule-action.whatsapp {
    background: #ffffff;
    color: #16a34a;
    border-color: #d1d5db;
    box-shadow: 0 5px 14px rgba(15, 23, 42, .06);
}

.schedule-action.approve {
    background: #dcfce7;
    color: #15803d;
}

@media (max-width: 1100px) {
    .schedule-flight-card {
        grid-template-columns: 160px 1fr;
    }

    .schedule-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .schedule-aircraft-photo {
        width: 160px;
        height: 120px;
    }
}

@media (max-width: 700px) {
    .schedule-flight-card {
        grid-template-columns: 1fr;
        padding: 18px;
        gap: 16px;
    }

    .schedule-aircraft-photo {
        width: 100%;
        height: 190px;
    }

    .schedule-title-row {
        flex-direction: column;
    }

    .schedule-title-row h3 {
        font-size: 22px;
    }

    .schedule-date-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 18px;
    }

    .schedule-date-box {
        border-left: none;
        background: #f8fafc;
        border-radius: 16px;
        padding: 14px;
    }

    .schedule-actions {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .schedule-action {
        font-size: 13px;
    }
}

/* =====================================================
   DASHBOARD - PRÓXIMOS VOOS VISUAL
   ===================================================== */

.dashboard-flight-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dashboard-flight-card {
    display: grid;
    grid-template-columns: 74px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

.dashboard-flight-card:last-child {
    border-bottom: none;
}

.dashboard-flight-photo {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: #dbeafe;
    color: #0d6efd;
    display: grid;
    place-items: center;
    overflow: hidden;
    font-size: 24px;
}

.dashboard-flight-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-flight-info {
    min-width: 0;
}

.dashboard-flight-info strong {
    display: block;
    font-size: 17px;
    color: #001b3f;
    margin-bottom: 7px;
}

.dashboard-flight-meta,
.dashboard-flight-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    color: #475569;
    font-size: 13px;
}

.dashboard-flight-meta span,
.dashboard-flight-dates span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dashboard-flight-meta i {
    color: #0d6efd;
}

.dashboard-flight-dates i.fa-plane-departure {
    color: #0d6efd;
}

.dashboard-flight-dates i.fa-plane-arrival {
    color: #16a34a;
}

.dashboard-flight-status {
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.dashboard-flight-status.approved {
    background: #dcfce7;
    color: #15803d;
}

.dashboard-flight-status.requested {
    background: #dbeafe;
    color: #0d6efd;
}

@media (max-width: 700px) {
    .dashboard-flight-card {
        grid-template-columns: 64px 1fr;
    }

    .dashboard-flight-status {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

/* =====================================================
   DASHBOARD PRÓXIMOS VOOS - NOVO VISUAL
   ===================================================== */

.dash-flight-list-new {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dash-flight-card-new {
    display: grid;
    grid-template-columns: 82px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.dash-flight-card-new:last-child {
    border-bottom: none;
}

.dash-flight-photo-new {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: #dbeafe;
    color: #0d6efd;
    display: grid;
    place-items: center;
    overflow: hidden;
    font-size: 26px;
}

.dash-flight-photo-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dash-flight-main-new {
    min-width: 0;
}

.dash-flight-route-new {
    display: block;
    color: #001b3f;
    font-size: 18px;
    margin-bottom: 8px;
}

.dash-flight-line-new {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: #475569;
    font-size: 13px;
    margin-bottom: 8px;
}

.dash-flight-line-new span,
.dash-flight-date-grid-new span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dash-flight-line-new i {
    color: #0d6efd;
}

.dash-flight-date-grid-new {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 13px;
    color: #001b3f;
}

.dash-flight-date-grid-new .fa-plane-departure {
    color: #0d6efd;
}

.dash-flight-date-grid-new .fa-plane-arrival {
    color: #16a34a;
}

.dash-flight-status-new {
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.dash-flight-approved {
    background: #dcfce7;
    color: #15803d;
}

.dash-flight-requested {
    background: #dbeafe;
    color: #0d6efd;
}

.dash-flight-cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

.dash-flight-completed {
    background: #e2e8f0;
    color: #475569;
}

@media (max-width: 700px) {
    .dash-flight-card-new {
        grid-template-columns: 74px 1fr;
    }

    .dash-flight-status-new {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

.block-photo {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}

.calendar-block-description {
    margin: 18px 0 0;
    color: #475569;
    background: #f8fafc;
    border-radius: 14px;
    padding: 12px 14px;
}


.schedule-action.approve {
    background: #dcfce7 !important;
    color: #15803d !important;
}

.schedule-action.reject {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

/* SUPER ADMIN DASHBOARD */
.super-grid {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.super-flight-list,
.super-company-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.super-flight-row,
.super-company-row {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid #e5e7eb;
}

.super-flight-row:last-child,
.super-company-row:last-child {
    border-bottom: none;
}

.super-flight-photo,
.super-company-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #dbeafe;
    color: #0d6efd;
    display: grid;
    place-items: center;
    overflow: hidden;
    font-size: 23px;
}

.super-flight-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.super-flight-info strong,
.super-company-row strong {
    display: block;
    color: #001b3f;
    margin-bottom: 5px;
}

.super-flight-info span,
.super-company-row span {
    display: block;
    color: #475569;
    font-size: 13px;
    margin-bottom: 3px;
}

.super-flight-info small,
.super-company-row small {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-top: 2px;
}

@media (max-width: 900px) {
    .super-grid {
        grid-template-columns: 1fr 1fr;
    }

    .super-flight-row,
    .super-company-row {
        grid-template-columns: 58px 1fr;
    }

    .super-flight-row .aircraft-status,
    .super-company-row .icon-btn {
        grid-column: 1 / -1;
        justify-self: start;
    }
    
    .support-whatsapp{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-top:15px;
    padding:10px 16px;
    background:#25D366;
    color:#fff;
    text-decoration:none;
    border-radius:12px;
    font-weight:600;
    transition:.2s;
}

.support-whatsapp:hover{
    background:#1fb958;
    transform:translateY(-1px);
}

.support-whatsapp i{
    font-size:18px;
}
}


/* =====================================================
   LOGIN / CADASTRO - APP MODE SEM SCROLL E SEM ZOOM
   ===================================================== */

body.login-page {
    overflow: hidden !important;
    height: 100vh !important;
    width: 100vw !important;
    touch-action: manipulation !important;
}

body.login-page .login-wrap {
    height: 100vh !important;
    width: 100vw !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 14px !important;
    box-sizing: border-box !important;
}

body.login-page .login-card {
    width: 100% !important;
    max-width: 430px !important;
    max-height: 96vh !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

body.login-page input,
body.login-page select,
body.login-page textarea {
    font-size: 16px !important;
}

body.login-page .login-brand {
    margin-bottom: 14px !important;
}

body.login-page .login-brand img {
    max-width: 210px !important;
}

body.login-page p {
    margin-bottom: 14px !important;
}

body.login-page .login-register-box {
    margin-top: 14px !important;
    padding-top: 12px !important;
}

body.login-page .support-whatsapp {
    margin-top: 10px !important;
}

@media (max-width: 768px) {
    body.login-page {
        position: fixed !important;
        inset: 0 !important;
    }

    body.login-page .login-wrap {
        padding: 10px !important;
    }

    body.login-page .login-card {
        max-width: 100% !important;
        max-height: 96vh !important;
        border-radius: 24px !important;
        padding: 24px !important;
    }

    body.login-page .login-brand img {
        max-width: 190px !important;
    }
}

@media (max-height: 720px) {
    body.login-page .login-card {
        padding: 18px !important;
    }

    body.login-page .login-brand img {
        max-width: 170px !important;
    }

    body.login-page input {
        min-height: 42px !important;
    }

    body.login-page button {
        min-height: 48px !important;
    }
}


/* TOPBAR AVATAR DO USUÁRIO */
.topbar-user-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-avatar {
    width: 62px;
    height: 62px;
    min-width: 62px;
    border-radius: 50%;
    background: #ffffff;
    color: #001b3f;
    display: grid;
    place-items: center;
    overflow: hidden;
    font-size: 24px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
}

.topbar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .topbar-avatar {
        width: 62px;
        height: 62px;
        min-width: 62px;
        box-shadow: none;
    }
}


/* =====================================================
   FIX CADASTRO EMPRESA COM SCROLL
   ===================================================== */

body.register-scroll {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    min-height: 100vh !important;
    position: static !important;
}

body.register-scroll .login-wrap {
    min-height: 100vh !important;
    height: auto !important;
    overflow-y: auto !important;
    align-items: flex-start !important;
    padding-top: 24px !important;
    padding-bottom: 40px !important;
}

body.register-scroll .login-card {
    max-height: none !important;
    overflow: visible !important;
    margin-top: 0 !important;
    margin-bottom: 40px !important;
}

body.login-fixed {
    overflow: hidden !important;
    height: 100vh !important;
    width: 100vw !important;
}

body.login-fixed .login-wrap {
    height: 100vh !important;
    overflow: hidden !important;
    align-items: center !important;
}

body.login-fixed .login-card {
    max-height: 96vh !important;
    overflow: hidden !important;
}
