/* ========================================
   Carso GPON Audit - Modern 2026 Design
   Light Professional Theme
   ======================================== */

/* ---- CSS Custom Properties ---- */
:root {
    --primary: #E85D04;
    --primary-light: #F48C06;
    --primary-dark: #DC2F02;
    --primary-bg: rgba(232, 93, 4, 0.06);
    --primary-bg-hover: rgba(232, 93, 4, 0.12);
    --secondary: #1B2A4A;
    --secondary-light: #264270;
    --accent: #0077B6;
    --accent-light: #00B4D8;
    --success: #10B981;
    --success-bg: rgba(16, 185, 129, 0.08);
    --warning: #F59E0B;
    --warning-bg: rgba(245, 158, 11, 0.08);
    --danger: #EF4444;
    --danger-bg: rgba(239, 68, 68, 0.08);
    --info: #6366F1;

    --bg-body: #F5F6FA;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FAFBFF;
    --bg-surface: #F0F2F8;
    --bg-glass: rgba(255, 255, 255, 0.72);

    --text-primary: #1A1D26;
    --text-secondary: #5A6178;
    --text-muted: #8B92A8;
    --text-inverse: #FFFFFF;

    --border: #E4E7F0;
    --border-hover: #CDD2E0;
    --border-focus: var(--primary);

    --shadow-xs: 0 1px 2px rgba(27, 42, 74, 0.04);
    --shadow-sm: 0 2px 8px rgba(27, 42, 74, 0.06);
    --shadow-md: 0 4px 16px rgba(27, 42, 74, 0.08);
    --shadow-lg: 0 8px 32px rgba(27, 42, 74, 0.10);
    --shadow-xl: 0 16px 48px rgba(27, 42, 74, 0.14);
    --shadow-glow: 0 0 24px rgba(232, 93, 4, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---- Global Reset & Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-body);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Subtle geometric bg pattern */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 10% 20%, rgba(232, 93, 4, 0.03), transparent),
        radial-gradient(ellipse 500px 500px at 90% 80%, rgba(0, 119, 182, 0.03), transparent);
    pointer-events: none;
    z-index: -1;
}

/* ---- Navbar ---- */
.navbar {
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    backdrop-filter: blur(20px) saturate(1.3);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 0;
    z-index: 1050;
    transition: box-shadow var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-logo {
    height: 32px;
    width: auto;
    border-radius: 6px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -0.02em;
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.navbar-toggler {
    border: none;
    font-size: 1.4rem;
    color: var(--secondary);
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler:hover {
    background: var(--primary-bg);
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary) !important;
    padding: 0.5rem 0.9rem !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-link:hover {
    color: var(--primary) !important;
    background: var(--primary-bg);
}

.nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-bg);
    font-weight: 600;
}

.btn-new-report {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: var(--text-inverse) !important;
    font-weight: 600 !important;
    border-radius: var(--radius-full) !important;
    padding: 0.5rem 1.1rem !important;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base) !important;
}

.btn-new-report:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow) !important;
    color: var(--text-inverse) !important;
    background: linear-gradient(135deg, var(--primary-light), var(--primary)) !important;
}

/* ---- Main Content ---- */
.main-content {
    flex: 1;
    padding-bottom: 2rem;
}

/* ---- Cards ---- */
.card-modern {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-base);
    overflow: hidden;
}

.card-modern:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--border-hover);
}

.card-modern .card-header-custom {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.card-modern .card-header-custom h5,
.card-modern .card-header-custom h4 {
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-body-custom {
    padding: 1.5rem;
}

/* ---- Stat Cards (Dashboard) ---- */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 0 4px 4px 0;
    transition: width var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-card.primary::after {
    background: var(--primary);
}

.stat-card.accent::after {
    background: var(--accent);
}

.stat-card.success::after {
    background: var(--success);
}

.stat-card.warning::after {
    background: var(--warning);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.stat-icon.primary {
    background: var(--primary-bg);
    color: var(--primary);
}

.stat-icon.accent {
    background: rgba(0, 119, 182, 0.08);
    color: var(--accent);
}

.stat-icon.success {
    background: var(--success-bg);
    color: var(--success);
}

.stat-icon.warning {
    background: var(--warning-bg);
    color: var(--warning);
}

.stat-info h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1;
}

.stat-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0.2rem 0 0;
    font-weight: 500;
}

/* ---- Page Header ---- */
.page-header {
    margin-bottom: 1.8rem;
}

.page-header h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 0;
    letter-spacing: -0.02em;
}

.page-header p {
    color: var(--text-muted);
    margin: 0.3rem 0 0;
    font-size: 0.9rem;
}

/* ---- Buttons ---- */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.55rem 1.2rem;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
}

.btn-primary-custom:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
    color: var(--text-inverse);
}

.btn-secondary-custom {
    background: var(--bg-surface);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.55rem 1.2rem;
    font-weight: 500;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all var(--transition-fast);
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary-custom:hover {
    background: var(--border);
    color: var(--text-primary);
}

.btn-danger-custom {
    background: var(--danger-bg);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.55rem 1.2rem;
    font-weight: 500;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all var(--transition-fast);
    cursor: pointer;
    text-decoration: none;
}

.btn-danger-custom:hover {
    background: var(--danger);
    color: white;
}

.btn-sm-custom {
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-icon:hover {
    background: var(--bg-surface);
    color: var(--primary);
    border-color: var(--primary);
}

.btn-icon.danger:hover {
    color: var(--danger);
    border-color: var(--danger);
}

/* ---- Form Controls ---- */
.form-label-custom {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.form-control-custom {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.9rem;
    font-size: 0.88rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    width: 100%;
    font-family: var(--font-sans);
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.1);
}

.form-control-custom::placeholder {
    color: var(--text-muted);
}

.form-select-custom {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.9rem;
    font-size: 0.88rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    width: 100%;
    cursor: pointer;
    font-family: var(--font-sans);
}

.form-select-custom:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.1);
}

/* ---- Radio Toggle (Si/No) ---- */
.radio-toggle {
    display: inline-flex;
    gap: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1.5px solid var(--border);
}

.radio-toggle input {
    display: none;
}

.radio-toggle label {
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--bg-card);
    color: var(--text-muted);
    user-select: none;
}

.radio-toggle label:first-of-type {
    border-right: 1px solid var(--border);
}

.radio-toggle input:checked+label.label-si {
    background: var(--success);
    color: white;
}

.radio-toggle input:checked+label.label-no {
    background: var(--danger);
    color: white;
}

/* ---- Checklist Table ---- */
.checklist-section {
    margin-top: 1.5rem;
}

.checklist-type-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.checklist-type-header.critico {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.checklist-type-header.indispensable {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
}

.checklist-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.checklist-table thead th {
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.6rem 0.8rem;
    border-bottom: 2px solid var(--border);
    text-align: center;
    white-space: nowrap;
}

.checklist-table thead th:first-child {
    text-align: left;
    width: 50%;
}

.checklist-table thead th:nth-child(2),
.checklist-table thead th:nth-child(3) {
    width: 50px;
}

.checklist-table tbody tr {
    transition: background var(--transition-fast);
}

.checklist-table tbody tr:hover {
    background: var(--primary-bg);
}

.checklist-table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.015);
}

.checklist-table tbody td {
    padding: 0.45rem 0.8rem;
    font-size: 0.84rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    vertical-align: middle;
}

.checklist-table tbody td:nth-child(2),
.checklist-table tbody td:nth-child(3) {
    text-align: center;
}

.checklist-table tbody td .form-control-custom {
    padding: 0.3rem 0.5rem;
    font-size: 0.8rem;
}

.item-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--bg-surface);
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* ---- Signature Pad ---- */
.signature-container {
    background: var(--bg-card);
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    transition: border-color var(--transition-fast);
}

.signature-container:hover {
    border-color: var(--primary);
}

.signature-container canvas {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: crosshair;
    max-width: 100%;
    background: white;
    touch-action: none;
}

.signature-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.signature-actions {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

/* ---- Table (Informes List) ---- */
.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table-modern thead th {
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.table-modern tbody tr {
    transition: all var(--transition-fast);
}

.table-modern tbody tr:hover {
    background: var(--primary-bg);
}

.table-modern tbody td {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

/* ---- Badges ---- */
.badge-type {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-type.interno {
    background: rgba(99, 102, 241, 0.1);
    color: var(--info);
}

.badge-type.contrata {
    background: var(--primary-bg);
    color: var(--primary);
}

.badge-type.critico {
    background: var(--primary-bg);
    color: var(--primary-dark);
}

.badge-type.indispensable {
    background: rgba(0, 119, 182, 0.08);
    color: var(--accent);
}

/* ---- Alerts ---- */
.alert-custom {
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    animation: slideInDown 0.3s ease-out;
}

.alert-custom.success {
    background: var(--success-bg);
    color: #065F46;
    border-left: 4px solid var(--success);
}

.alert-custom.error {
    background: var(--danger-bg);
    color: #991B1B;
    border-left: 4px solid var(--danger);
}

/* ---- Empty State ---- */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state-icon {
    font-size: 3.5rem;
    color: var(--text-muted);
    opacity: 0.4;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0;
}

.empty-state p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0.3rem 0 1rem;
}

/* ---- Footer ---- */
.app-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 1rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.footer-logo {
    height: 20px;
    border-radius: 4px;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-dot {
    color: var(--border);
}

/* ---- Aircan Button ---- */
.btn-aircan {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #1A1D26, #3b4255);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    letter-spacing: 0.03em;
}

.btn-aircan:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 29, 38, 0.25);
    color: #ffffff;
    background: linear-gradient(135deg, #2c3140, #4f5870);
}

.btn-aircan i {
    font-size: 0.65rem;
}

/* ---- Section Divider ---- */
.section-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 2rem 0 1.5rem;
}

.section-divider .line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.section-divider span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---- Informe View Detail ---- */
.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.detail-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 140px;
    flex-shrink: 0;
}

.detail-value {
    font-size: 0.88rem;
    color: var(--text-primary);
    word-break: break-word;
}

/* ---- Animations ---- */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.4s ease-out;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--bg-card);
        border-radius: var(--radius-md);
        padding: 0.8rem;
        margin-top: 0.5rem;
        border: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

    .btn-new-report {
        text-align: center;
        justify-content: center;
        margin-top: 0.3rem;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.3rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .stat-info h3 {
        font-size: 1.3rem;
    }

    .card-body-custom {
        padding: 1rem;
    }

    .checklist-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-modern {
        display: block;
        overflow-x: auto;
    }

    .detail-row {
        flex-direction: column;
        gap: 0.2rem;
    }

    .detail-label {
        min-width: auto;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .signature-container canvas {
        width: 100% !important;
        height: 120px !important;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .page-header h1 {
        font-size: 1.15rem;
    }

    .card-modern .card-header-custom {
        padding: 0.9rem 1rem;
    }

    .radio-toggle label {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }
}

/* ---- Print Utility ---- */
@media print {

    .navbar,
    .app-footer,
    .btn-primary-custom,
    .btn-secondary-custom {
        display: none !important;
    }

    body {
        background: white;
    }

    .card-modern {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border-hover);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ---- Evaluacion management ---- */
.eval-item-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition-fast);
}

.eval-item-row:hover {
    background: var(--primary-bg);
}

.eval-item-row:last-child {
    border-bottom: none;
}

.eval-item-desc {
    flex: 1;
    font-size: 0.87rem;
    color: var(--text-primary);
}

.eval-item-actions {
    display: flex;
    gap: 0.35rem;
    flex-shrink: 0;
}

/* ---- Modal ---- */
.modal-modern .modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.modal-modern .modal-header {
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 1.5rem;
}

.modal-modern .modal-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--secondary);
}

.modal-modern .modal-body {
    padding: 1.5rem;
}

.modal-modern .modal-footer {
    border-top: 1px solid var(--border);
    padding: 1rem 1.5rem;
}

/* ---- Quick Actions ---- */
.quick-action-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-base);
    text-decoration: none;
    color: var(--text-primary);
    display: block;
}

.quick-action-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    color: var(--primary);
}

.quick-action-card .qa-icon {
    font-size: 2rem;
    margin-bottom: 0.6rem;
    color: var(--primary);
}

.quick-action-card h6 {
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0;
}

.quick-action-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0.2rem 0 0;
}

/* ---- View informe checklist badges ---- */
.response-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.response-badge.si {
    background: var(--success-bg);
    color: var(--success);
}

.response-badge.no {
    background: var(--danger-bg);
    color: var(--danger);
}

.response-badge.empty {
    background: var(--bg-surface);
    color: var(--text-muted);
}