* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f1f5f9;
    color: #0f172a;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background-color: #0f172a;
    color: white;
    padding: 24px;
    flex-shrink: 0;
}

.sidebar-header h1 {
    font-size: 24px;
    margin-bottom: 8px;
}

.sidebar-header p {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 32px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-nav a {
    text-decoration: none;
    color: white;
    padding: 12px 14px;
    border-radius: 12px;
    transition: background-color 0.2s ease;
}

.sidebar-nav a:hover {
    background-color: #1e293b;
}

.admin-content {
    flex: 1;
    padding: 32px;
}
.dashboard {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.dashboard-header h2 {
    font-size: 36px;
    margin: 8px 0 12px;
}

.dashboard-label {
    font-size: 14px;
    color: #64748b;
    font-weight: bold;
}

.dashboard-description {
    font-size: 16px;
    color: #475569;
    max-width: 700px;
}

.dashboard-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.summary-card {
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.summary-card p {
    font-size: 14px;
    color: #64748b;
}

.summary-card h4 {
    font-size: 32px;
    margin: 10px 0;
}

.summary-card span {
    font-size: 14px;
    color: #94a3b8;
}

@media (max-width: 1200px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .admin-content {
        padding: 20px;
    }

    .dashboard-header h2 {
        font-size: 28px;
    }
}
/* =========================
   PAGOS - BOTONES DE ACCIÓN
========================= */

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    padding: 9px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.btn-action.success {
    background-color: #16a34a;
    color: #ffffff;
}

.btn-action.success:hover {
    background-color: #15803d;
    transform: translateY(-1px);
}

.btn-action.warning {
    background-color: #f59e0b;
    color: #ffffff;
}

.btn-action.warning:hover {
    background-color: #d97706;
    transform: translateY(-1px);
}

/* =========================
Estilos socios
========================= */

.table-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.table-subtitle {
    margin-top: 6px;
    color: #64748b;
    font-size: 14px;
}

.table-count {
    background-color: #e2e8f0;
    color: #334155;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.table-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow-x: auto;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.admin-table thead {
    background-color: #f8fafc;
}

.admin-table th {
    padding: 16px 18px;
    text-align: left;
    color: #64748b;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid #e2e8f0;
}

.admin-table td {
    padding: 18px;
    color: #0f172a;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background-color: #f8fafc;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background-color: #0f172a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    text-transform: uppercase;
}

.user-cell strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
}

.user-cell span {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    color: #64748b;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.status-active {
    background-color: #dcfce7;
    color: #166534;
}

.status-inactive {
    background-color: #fee2e2;
    color: #991b1b;
}

.empty-table {
    text-align: center;
    color: #64748b;
    padding: 34px;
}
.type-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background-color: #e0f2fe;
    color: #075985;
    font-size: 12px;
    font-weight: 800;
}
/* =========================
ALUMNO DASHBOARD
========================= */

.dashboard-section {
    background-color: white;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.dashboard-section h3 {
    margin-bottom: 16px;
}

/*=============
recerva========= */
/* =========================
   RESERVA ALUMNO
========================= */

.form-card {
    max-width: 720px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.reserve-form {
    display: grid;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #334155;
    font-size: 14px;
    font-weight: 800;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background-color: #f8fafc;
    color: #0f172a;
    font-size: 15px;
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #0f172a;
    background-color: #ffffff;
}

.btn-submit {
    width: fit-content;
    border: none;
    border-radius: 14px;
    background-color: #0f172a;
    color: #ffffff;
    padding: 13px 22px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.btn-submit:hover {
    background-color: #1e293b;
}

.alert-error {
    max-width: 720px;
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 700;
}
/*======mis vuelos */
.btn-action.danger {
    background-color: #dc2626;
    color: #ffffff;
}

.btn-action.danger:hover {
    background-color: #991b1b;
    transform: translateY(-1px);
}
/* =========================
   LANDING PAGE
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.landing-body {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    font-family: Arial, sans-serif;
}

.landing-header {
    width: 100%;
    padding: 24px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    font-size: 20px;
}

.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 14px;
    background: #ffffff;
    padding: 6px;
}

.login-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 10px 18px;
    border-radius: 999px;
}

.login-link:hover {
    background: rgba(255,255,255,0.1);
}

.landing-main {
    min-height: calc(100vh - 106px);
    display: flex;
    align-items: center;
    padding: 40px 56px;
}

.landing-hero {
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.landing-label {
    color: #38bdf8;
    font-weight: 800;
    margin-bottom: 14px;
}

.landing-content h1 {
    font-size: 58px;
    line-height: 1.05;
    max-width: 760px;
    margin-bottom: 24px;
}

.landing-description {
    color: #cbd5e1;
    font-size: 19px;
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 32px;
}

.primary-button {
    display: inline-block;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    padding: 14px 24px;
    border-radius: 14px;
}

.primary-button:hover {
    background: #1d4ed8;
}

.landing-card-preview {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.25);
}

.landing-card-preview h3 {
    font-size: 26px;
    margin-bottom: 20px;
}

.landing-card-preview ul {
    list-style: none;
    display: grid;
    gap: 14px;
}

.landing-card-preview li {
    background: rgba(255,255,255,0.08);
    padding: 14px 16px;
    border-radius: 16px;
    color: #e2e8f0;
}

@media (max-width: 900px) {
    .landing-header {
        padding: 20px;
    }

    .landing-main {
        padding: 30px 20px;
    }

    .landing-hero {
        grid-template-columns: 1fr;
    }

    .landing-content h1 {
        font-size: 40px;
    }
}

/* ===================================
   LOGIN
=================================== */

.login-body{
    margin:0;
    padding:0;
    min-height:100vh;

    background-image:url('/static/proyectoAviacion/img/avion.jpg');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    font-family:Arial, sans-serif;
}

.login-overlay{
    width:100%;
    min-height:100vh;

    background:rgba(0,0,0,0.45);

    display:flex;
    justify-content:center;
    align-items:center;

    padding:20px;
}

.login-card{
    width:100%;
    max-width:460px;

    background:rgba(15,23,42,0.78);

    backdrop-filter:blur(10px);

    border:1px solid rgba(255,255,255,0.08);

    border-radius:24px;

    padding:50px 40px;

    box-shadow:0 20px 60px rgba(0,0,0,0.4);

    text-align:center;

    color:white;
}

.login-card h1{
    margin:0 0 30px;
    font-size:42px;
    font-weight:700;
}

.login-avatar{
    width:90px;
    height:90px;

    margin:0 auto 30px;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        #2563eb,
        #0ea5e9
    );

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:42px;
}

.login-form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.login-form input{
    width:100%;

    padding:16px 18px;

    border-radius:12px;

    border:1px solid rgba(255,255,255,0.08);

    background:rgba(30,41,59,0.8);

    color:white;

    font-size:16px;

    outline:none;

    box-sizing:border-box;
}

.login-form input::placeholder{
    color:#94a3b8;
}

.login-form input:focus{
    border-color:#3b82f6;
    box-shadow:0 0 0 3px rgba(59,130,246,0.25);
}

.login-form button{
    border:none;

    padding:16px;

    border-radius:12px;

    background:linear-gradient(
        90deg,
        #2563eb,
        #3b82f6
    );

    color:white;

    font-size:18px;
    font-weight:600;

    cursor:pointer;

    transition:0.2s;
}

.login-form button:hover{
    transform:translateY(-1px);

    background:linear-gradient(
        90deg,
        #1d4ed8,
        #2563eb
    );
}

.login-footer{
    margin-top:24px;
}

.login-footer a{
    color:#60a5fa;
    text-decoration:none;
    font-size:15px;
}

.login-footer a:hover{
    text-decoration:underline;
}

.login-error{
    background:#7f1d1d;

    color:#fecaca;

    padding:14px;

    border-radius:12px;

    font-size:14px;
}
.login-footer{
    margin-top:28px;

    display:flex;
    flex-direction:column;
    align-items:center;
    gap:18px;
}

.forgot-password{
    color:#60a5fa;
    text-decoration:none;
    font-size:15px;
    transition:0.2s;
}

.forgot-password:hover{
    color:#93c5fd;
}

.login-divider{
    width:100%;
    height:1px;
    background:rgba(255,255,255,0.08);
}

.back-home{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    width:100%;

    padding:14px;

    border-radius:14px;

    background:rgba(255,255,255,0.04);

    border:1px solid rgba(255,255,255,0.08);

    color:#60a5fa;

    text-decoration:none;

    font-weight:700;

    transition:0.2s;
}

.back-home:hover{
    background:rgba(255,255,255,0.08);

    color:#60a5fa;

    transform:translateY(-1px);
}