/* Opción 2: Estilo Elegante Profesional */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2c3e50;
    --secondary: #34495e;
    --accent: #3498db;
    --gold: #f39c12;
    --bg: #ecf0f1;
    --white: #ffffff;
    --text: #2c3e50;
    --text-light: #7f8c8d;
    --border: #bdc3c7;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.8;
    color: var(--text);
    background: var(--bg);
    padding: 0;
}

.container {
    max-width: 960px;
    margin: 40px auto;
    background: var(--white);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.15);
}

/* Header elegante */
header {
    background: var(--primary);
    color: white;
    padding: 60px 50px;
    text-align: center;
    position: relative;
    border-bottom: 4px solid var(--gold);
}

header::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent);
}

header h1 {
    font-size: 2.8em;
    margin-bottom: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

header h2 {
    font-size: 1.6em;
    margin-bottom: 20px;
    font-weight: 300;
    font-style: italic;
}

.last-updated {
    font-size: 0.95em;
    opacity: 0.85;
    font-family: 'Segoe UI', sans-serif;
    letter-spacing: 0.5px;
}

/* Main content */
main {
    padding: 50px;
}

section {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

section:last-of-type {
    border-bottom: none;
}

h3 {
    color: var(--primary);
    font-size: 2em;
    margin-bottom: 25px;
    font-weight: 400;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

h4 {
    color: var(--secondary);
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
    border-left: 4px solid var(--accent);
    padding-left: 15px;
}

h5 {
    color: var(--text);
    font-size: 1.15em;
    margin-bottom: 10px;
    font-weight: 600;
}

p {
    margin-bottom: 18px;
    color: var(--text);
    font-size: 1.05em;
    text-align: justify;
    font-family: 'Segoe UI', sans-serif;
}

ul {
    margin-left: 40px;
    margin-bottom: 20px;
}

ul li {
    margin-bottom: 12px;
    color: var(--text);
    font-family: 'Segoe UI', sans-serif;
}

ul.no-list {
    list-style: none;
    margin-left: 20px;
}

code {
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    font-size: 0.92em;
    color: var(--accent);
    border: 1px solid var(--border);
}

a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

a:hover::after {
    width: 100%;
}

/* Info boxes elegantes */
.highlight-box,
.info-box,
.warning-box,
.service-box,
.contact-box {
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0;
    border-left: 5px solid;
    background: #fafafa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.highlight-box {
    border-left-color: var(--gold);
    background: #fffef5;
}

.info-box {
    border-left-color: var(--accent);
    background: #f0f8ff;
}

.warning-box {
    border-left-color: #e74c3c;
    background: #fff5f5;
}

.service-box {
    border: 1px solid var(--border);
    border-left-width: 5px;
    border-left-color: var(--accent);
    background: white;
}

.contact-box {
    background: var(--primary);
    color: white;
    border-left-color: var(--gold);
}

.contact-box p {
    color: white;
}

.contact-box a {
    color: var(--gold);
}

.contact-box a::after {
    background: white;
}

/* Table profesional */
.permissions-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    border: 1px solid var(--border);
}

.permissions-table thead {
    background: var(--primary);
    color: white;
}

.permissions-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 500;
    font-size: 1.05em;
    letter-spacing: 0.5px;
    font-family: 'Segoe UI', sans-serif;
}

.permissions-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-family: 'Segoe UI', sans-serif;
}

.permissions-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.permissions-table tbody tr:hover {
    background: #e8f4f8;
}

.permissions-table tbody tr:last-child td {
    border-bottom: none;
}

/* Summary section */
.summary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 50px;
    border-radius: 0;
    margin-top: 50px;
    color: white;
    border-top: 4px solid var(--gold);
}

.summary h3 {
    color: white;
    margin-bottom: 40px;
}

.summary h3::after {
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.summary-item {
    background: white;
    padding: 30px;
    border-radius: 0;
    border-top: 4px solid var(--gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.summary-item h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3em;
    color: var(--primary);
    border-left: none;
    padding-left: 0;
}

.summary-item ul {
    margin-left: 25px;
}

.summary-item li {
    color: var(--text);
}

/* Footer */
footer {
    background: var(--secondary);
    color: white;
    padding: 35px 50px;
    text-align: center;
    border-top: 4px solid var(--gold);
}

footer p {
    margin-bottom: 8px;
    opacity: 0.95;
    font-family: 'Segoe UI', sans-serif;
}

footer a {
    color: var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        margin: 20px;
    }

    header {
        padding: 40px 30px;
    }

    header h1 {
        font-size: 2em;
        letter-spacing: 1px;
    }

    header h2 {
        font-size: 1.3em;
    }

    main {
        padding: 35px 30px;
    }

    h3 {
        font-size: 1.6em;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .container {
        margin: 10px;
    }

    header {
        padding: 30px 20px;
    }

    header h1 {
        font-size: 1.6em;
    }

    main {
        padding: 25px 20px;
    }

    h3 {
        font-size: 1.4em;
    }

    .permissions-table {
        font-size: 0.85em;
    }

    .permissions-table th,
    .permissions-table td {
        padding: 12px 10px;
    }
}
