/* Sistema de Gestión AeroAlas - estilo formal corporativo */

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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(160deg, #0d1b2a 0%, #1b263b 60%, #274156 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1b263b;
}

.login-card {
    background: #ffffff;
    width: 380px;
    max-width: 90%;
    padding: 40px 36px;
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.brand {
    margin-bottom: 28px;
}

.brand .logo-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #0d1b2a;
    color: #c9a227;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand h1 {
    font-size: 20px;
    color: #0d1b2a;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.brand p {
    font-size: 13px;
    color: #6b7a8f;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group {
    text-align: left;
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: #33475b;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #0d1b2a;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: #0d1b2a;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.btn-login:hover {
    background: #1b263b;
}

.flash-error {
    background: #fdecea;
    color: #a12622;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: left;
}

.footer-note {
    margin-top: 24px;
    font-size: 11px;
    color: #a0aec0;
}

/* ---------- Menú ---------- */

.menu-wrapper {
    max-width: 720px;
    width: 100%;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.menu-header {
    background: #0d1b2a;
    color: #ffffff;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.menu-header .user-info {
    font-size: 13px;
    color: #c9a227;
    text-align: right;
}

.menu-header a {
    color: #cbd5e0;
    font-size: 12px;
    text-decoration: none;
    display: block;
    margin-top: 4px;
}

.menu-header a:hover {
    color: #ffffff;
}

.menu-grid {
    padding: 28px 32px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.menu-item {
    display: block;
    padding: 20px 16px;
    background: #f5f7fa;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    color: #1b263b;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.menu-item:hover {
    background: #0d1b2a;
    color: #ffffff;
    border-color: #0d1b2a;
}

.empty-menu {
    padding: 40px 32px;
    text-align: center;
    color: #a0aec0;
    font-size: 14px;
}
