:root {
    --primary: #1e40af; /* Azul real profundo institucional */
    --secondary: #e11d48; /* Coral/Rojo sofisticado para alertas e incompatibilidades */
    --accent: #0d9488; /* Verde azulado/Teal de salud moderno */
    --success: #10b981; /* Verde esmeralda moderno para descargas/aprobaciones */
    --white: #ffffff;
    --text-main: #1f2937; /* Gris pizarra oscuro que mejora legibilidad */
    --glass-bg: rgba(255, 255, 255, 0.9); /* Mayor opacidad para mejor contraste y legibilidad */
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --glass-blur: blur(20px) saturate(140%);
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 15px;
}

h1 {
    text-align: left;
    font-weight: 700;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    color: #2c3e50;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 30px;
}

h2 {
    text-align: left;
    font-weight: 700;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    color: #2c3e50;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 30px;
}

h3 {
    text-align: left;
    font-weight: 700;
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    color: #2c3e50;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 4px;
    margin-bottom: 20px;
    margin-top: 25px;
}

h5 {
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
    color: #2c3e50;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 3px;
    margin-bottom: 15px;
}

p.intro-text {
    font-size: 1.1rem;
    max-width: 1200px;
    margin: 0 auto 30px;
    font-weight: 400;
    text-align: justify;
    text-justify: inter-word;
    color: #444;
}

p {
    text-align: justify;
    margin-bottom: 15px;
}

.background {
    background-color: #f3f4f6;
    background-image: 
        linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(249, 250, 251, 0.98)),
        url('../images/iconos_muni.svg');
    background-size: cover, 400px;
    background-repeat: no-repeat, repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    max-width: 1600px;
    width: 96%;
    margin: 40px auto;
    padding: clamp(15px, 3vw, 40px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass_box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
    padding: 24px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    justify-content: center;
}

ul {
    list-style: none;
    padding: 0;
}

.glass_box > ul > li {
    text-align: justify;
    margin: 8px 10px;
    list-style: decimal inside;
}

.documents-list li {
    background: #fff;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;

}

.documents-list li span {
    font-weight: 700;
}

a.document-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-decoration: none;
    background: var(--primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
    border: 2px solid var(--primary);
    margin-bottom: 20px;
    max-width: 100%;
}

a.document-btn:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

footer {
    background-color: transparent;
    background-image: url('/directores2026/images/footer.png');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    text-align: right;
    padding: 0;
    margin-top: auto;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    height: 180px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.footer-content {
    min-width: 20px;
    max-width: auto;
    min-height: 20px;
    max-height: auto;
    margin-left: auto;
    margin-right: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.foo_text {
    text-align: center;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .user-navbar {
        border-radius: 20px;
        padding: 10px;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .content-wrapper {
        margin: 0;
        border-radius: 0;
        padding: 20px;
    }

    h1 {
        font-size: 1.5rem;
        text-align: left;
    }

    h2 {
        font-size: 1.4rem;
    }

    .documents-list li {
        padding: 15px;
    }

    a.document-btn {
        width: 100%;
        box-sizing: border-box;
        padding: 10px 20px;
        margin-bottom: 10px;
    }
}

.img_logo {
    min-width: auto;
    max-width: auto;
    height: 80px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 5px;
}

.top-bar {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 10px 0;
    gap: 15px;
}

.top-bar-btn {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: #4a5568;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
}

.top-bar-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(13, 148, 136, 0.3);
}

.top-bar-btn.active-auth {
    background: var(--primary);
    color: #fff;
    border: none;
}

.top-bar-btn.active-auth:hover {
    background: var(--accent);
}

.user-navbar {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    padding: 5px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.navbar-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    gap: 10px;
}

.nav-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    color: #4a5568;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.25s ease;
    margin: 2px;
}

.nav-link:hover {
    background: rgba(13, 148, 136, 0.1);
    color: var(--accent);
    transform: translateY(-1px);
}

.auth-item {
    display: none;
}

.auth-btn {
    padding: 10px 25px !important;
    border-radius: 25px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.auth-btn.login {
    background: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.auth-btn.login:hover {
    background: var(--accent) !important;
    color: #fff !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}

.auth-btn.logout {
    background: var(--secondary) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

.auth-btn.logout:hover {
    background: var(--accent) !important;
    color: #fff !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}

/* Responsive adjustment for auth button */
@media (max-width: 992px) {
    .auth-item {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 5px;
    }
    
    .auth-btn {
        width: 100%;
        justify-content: center;
    }
}

.nav-link.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}



#btn_dsm,
.panel-body .btn-warning.btn-lg {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 240px;
    min-height: 48px;
    padding: 12px 24px;
    margin: 5px auto;
    border-radius: 8px;
}

@media (max-width: 992px) {
    header {
        flex-direction: column;
        align-items: stretch;
    }

    .navbar-menu {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .user-navbar {
        border-radius: 12px;
        padding: 6px 8px;
    }

    .navbar-menu {
        gap: 4px;
    }

    .nav-link {
        min-height: 30px;
        padding: 6px 10px;
        font-size: 0.7rem;
    }

    #btn_dsm,
    .panel-body .btn-warning.btn-lg {
        width: 100%;
        min-width: 0;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .user-navbar {
        border-radius: 10px;
    }

    .navbar-menu {
        gap: 3px;
    }

    .nav-link {
        flex: 1 1 calc(50% - 3px);
    }
}


/* Convocation Cards */
.convocation-card {
    border-left: 5px solid var(--primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.convocation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 69, 173, 0.15);
}

.convocation-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    border-left: none;
    padding-left: 0;
    color: var(--primary);
    font-size: 1.6rem;
}

.card-details p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.card-details strong {
    color: #444;
}

/* Details/Summary Accordion */
details {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

summary {
    padding: 15px;
    cursor: pointer;
    background-color: #f9f9f9;
    font-weight: 700;
    color: var(--primary);
    list-style: none;
    /* Hide default arrow */
    position: relative;
    transition: background-color 0.3s;
}

summary:hover {
    background-color: #f0f0f0;
}

summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-weight: 900;
    font-size: 1.2rem;
}

details[open] summary::after {
    content: '-';
}

details[open] summary {
    border-bottom: 1px solid #e0e0e0;
}

.details-content {
    padding: 20px;
    background: #fff;
}

/* Requirements Table */
.requisitos-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.requisitos-table th,
.requisitos-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.requisitos-table th {
    background-color: var(--primary);
    color: #fff;
    font-weight: 700;
    text-align: center;
}

.requisitos-table td {
    vertical-align: top;
}

.requisitos-table tr:hover {
    background-color: #f9fbff;
}

/* Document Modal Specifics */
#modal-document {
    z-index: 10100;
    /* Ensure it's on top of everything */
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-sizing: border-box;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.15);
}

.btn-primary {
    background: var(--primary);
    border-radius: 12px;
    padding: 15px 30px;
    font-weight: 700;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.25);
    border: none;
}

.btn-primary:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.35);
}

.btn-warning {
    background: var(--secondary);
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.25);
}

.btn-warning:hover {
    background: #be123c;
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.35);
}

.btn-success {
    background: var(--success);
    border: none;
    color: #fff;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
    border: 1px solid #999;
    /* Darker border for clarity */
    color: #333;
    font-size: 16px;
    /* Prevent zoom on iOS */
    line-height: 1.3;
}

select.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 69, 173, 0.2);
    outline: none;
}

.panel-body {
    padding: 10px 20px;
}

@media (max-width: 768px) {
    .panel-body {
        padding: 15px;
    }
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15);
}

.btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 180px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff !important;
    background-color: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
}

.btn-primary:not(:disabled):hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.35);
}

.btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: var(--primary);
    border-radius: 5px;
}

.checkbox-container:hover input~.checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.alert-info {
    background-color: rgba(231, 243, 254, 0.4);
    backdrop-filter: blur(25px);
    border-left: 6px solid #2196F3;
    padding: 24px;
    margin-top: 20px;
    border-radius: 15px;
    color: #0c5460;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.alert-success {
    background-color: rgba(2, 186, 147, 0.12);
    backdrop-filter: blur(25px);
    border-left: 6px solid var(--success);
    padding: 24px;
    margin-top: 20px;
    border-radius: 15px;
    color: #0c5c48;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 186, 147, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.alert-success h4 {
    color: #0c5c48 !important;
    margin-top: 0;
    font-weight: 800;
}

.alert-danger {
    background-color: rgba(255, 104, 72, 0.12);
    backdrop-filter: blur(25px);
    border-left: 6px solid var(--secondary);
    padding: 24px;
    margin-top: 20px;
    border-radius: 15px;
    color: #9e3a24;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 104, 72, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.alert-danger h4 {
    color: #9e3a24 !important;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 800;
}

.alert-danger li {
    margin-bottom: 12px;
    list-style-type: decimal;
    list-style-position: inside;
    text-align: justify;
}

.alert-danger li:last-child {
    margin-bottom: 0;
}



/* Layout Utilities */
.split-layout {
    display: flex;
    gap: 24px;
    margin: 30px 0;
    flex-wrap: wrap;
    align-items: stretch;
}

.layout-col-main {
    flex: 2.5;
    min-width: 350px;
}

.layout-col-side {
    flex: 1;
    min-width: 280px;
}

/* Login Styles */
.login-box {
    max-width: 400px;
    margin: 40px auto;
    padding: 40px;
}

.login-box h1 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 180px;
    padding: 12px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    background-color: rgba(0, 167, 229, 0.05);
    border: 1px solid var(--primary);
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
    box-sizing: border-box;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: #fff;
    text-decoration: none;
}


.navbar-inverse {
    background-color: transparent;
    border: none;
}


.content-wrapper header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    gap: 20px;
}


.modal-dialog {
    width: auto;
    max-width: 1000px;
    margin: 30px auto;
}

@media (max-width: 768px) {
    .modal-dialog {
        width: 95%;
        margin: 10px auto;
    }
}

table.dataTable {
    color: #333;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    margin: 20px 0 !important;
    width: 100% !important;
}

.dataTables_length {
    display: none !important;
}

.dataTables_wrapper .row {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align search to the right since length is gone */
}

.dataTables_filter input {
    width: 250px !important;
    padding: 10px 15px !important;
    border-radius: 12px !important;
    border: 1px solid var(--glass-border) !important;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    margin-left: 10px !important;
}

.dataTables_filter input:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(0, 167, 229, 0.15) !important;
}

.dataTables_length select {
    padding: 6px 30px 6px 15px !important;
    border-radius: 10px !important;
    border: 1px solid var(--glass-border) !important;
    background: rgba(255, 255, 255, 0.6) !important;
}

.btn-action {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 4px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #fff !important;
}

.btn-action i, 
.btn-action span {
    font-size: 1.1rem !important;
}

.btn-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

/* Specific Action Colors */
.btn-success.btn-action { background: var(--success) !important; }
.btn-primary.btn-action { background: var(--primary) !important; }
.btn-info.btn-action { background: #00c9db !important; }
.btn-warning.btn-action { background: var(--accent) !important; }
.btn-danger.btn-action { background: var(--secondary) !important; }
.btn-default.btn-action { background: #6c757d !important; } /* Modern gray for generic actions */
.btn-default.btn-action:hover { background: #5a6268 !important; }

.glass_box table thead th,
table.dataTable thead th {
    background-color: var(--primary) !important;
    color: #fff !important;
    border-bottom: none !important;
    padding: 18px 12px !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-align: center;
}

table.dataTable td {
    padding: 14px 12px !important;
    vertical-align: middle;
    border-top: 1px solid var(--glass-border) !important;
    background: transparent !important;
}

table.dataTable tbody tr {
    background-color: transparent !important;
    transition: background-color 0.2s ease;
}

table.dataTable tbody tr:hover {
    background-color: rgba(0, 167, 229, 0.05) !important;
}

/* Pagination Styling */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 8px 16px !important;
    margin: 0 4px !important;
    border-radius: 10px !important;
    border: 1px solid var(--glass-border) !important;
    background: rgba(255, 255, 255, 0.4) !important;
    color: #444 !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(0, 167, 229, 0.3) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current) {
    background: var(--accent) !important;
    color: #333 !important;
    border-color: var(--accent) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: #003380;
}

.btn-primary:hover {
    background-color: #003380;
    border-color: #002260;
}

.btn-warning {
    background-color: #ff9900;
    border-color: #cc7a00;
    color: #fff;
}

.btn-warning:hover {
    background-color: #cc7a00;
    border-color: #995c00;
}

.btn-info {
    background-color: #0088cc;
    border-color: #006699;
}

tr.highlighted td {
    background-color: #e6f0ff !important;
    color: #333 !important;
}

thead input {
    width: 100%;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: rgb(255, 255, 255);
    min-width: 350px;
    max-width: 1200px;
    padding: 40px;
    border-radius: 15px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out forwards;
    border: 1px solid rgba(255, 255, 255, 0.1);
    scroll-behavior: smooth;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 10001;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #fff;
}

/* Spinner for Sending state */
.spinner {
    margin: 30px auto 0;
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#code-2fa:focus {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    border-color: #fff;
}

/* 204 No Content Animation (Cat in Box) */
.no-content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    color: #666;
}

.cat-box-anim {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}

/* The Box */
.cat-box {
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 100px;
    height: 60px;
    background-color: #dcb375;
    /* cardboard color */
    border: 3px solid #b58d55;
    border-radius: 4px;
    z-index: 10;
    overflow: hidden;
}

/* Flaps */
.cat-box:before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 20px solid #cfa365;
}

/* The Cat */
.cat-body {
    position: absolute;
    bottom: 0;
    left: 40px;
    width: 40px;
    height: 90px;
    background-color: #333;
    border-radius: 40px 40px 0 0;
    transition: transform 0.3s;
    animation: peek 3s infinite ease-in-out;
}

.cat-ears {
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
}

.cat-ear-l,
.cat-ear-r {
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid #333;
}

.cat-ear-l {
    left: -5px;
    transform: rotate(-15deg);
}

.cat-ear-r {
    right: -5px;
    transform: rotate(15deg);
}

.cat-face {
    position: absolute;
    top: 20px;
    left: 5px;
    width: 30px;
}

.cat-eye {
    position: absolute;
    top: 0;
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    animation: blink 4s infinite;
}

.cat-eye.left {
    left: 0;
}

.cat-eye.right {
    right: 0;
}

.cat-eye:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 4px;
    height: 4px;
    background-color: #000;
    border-radius: 50%;
}

@keyframes peek {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(20px);
    }
}

@keyframes blink {

    0%,
    90%,
    100% {
        transform: scaleY(1);
    }

    95% {
        transform: scaleY(0.1);
    }
}

.no-content-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #444;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}


/* Modern Light Modal Styles */
.modal-blue-form {
    background-color: #ffffff;
    color: #333;
    border-radius: 16px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 69, 173, 0.15);
    border: 1px solid rgba(0, 69, 173, 0.1);
    font-family: 'Lato', sans-serif;
}

.modal-blue-form .modal-header {
    border-bottom: 2px solid #f0f4f8;
    margin-bottom: 30px;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-blue-form h2,
.modal-blue-form h3 {
    color: var(--primary);
    border: none;
    margin: 0;
    text-align: left;
    padding: 0;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.modal-blue-form .close-modal {
    color: #999;
    top: auto;
    right: auto;
    position: relative;
    transition: color 0.3s;
    font-size: 1.5rem;
}

.modal-blue-form .close-modal:hover {
    color: #d32f2f;
}

.modal-blue-form label {
    color: #555;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-blue-form .form-control {
    background-color: #f8fbff;
    border: 1px solid #e1e8f0;
    color: #333;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.2s ease;
}

.modal-blue-form .form-control:focus {
    background-color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 69, 173, 0.1);
}

.modal-blue-form textarea.form-control {
    resize: none;
    height: 120px;
}

.modal-blue-form .btn-primary {
    background-color: var(--primary);
    color: #fff;
    border: none;
    width: auto;
    min-width: 200px;
    margin: 30px auto 0;
    display: block;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 69, 173, 0.3);
    font-weight: 700;
    letter-spacing: 1px;
}

.modal-blue-form .btn-primary:hover {
    background-color: #003380;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 69, 173, 0.4);
}

/* File Upload Styles */
.file-upload-placeholder {
    width: 60px;
    height: 80px;
    background-color: #f0f4f8;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}

.file-upload-placeholder::before {
    content: 'PDF';
    font-weight: 900;
    color: #888;
    font-size: 1rem;
}

.file-upload-placeholder.has-file {
    background-color: #fff;
    border-style: solid;
    border-color: #e1e8f0;
}

.file-upload-placeholder.has-file::before {
    color: #d32f2f;
}

.file-upload-placeholder:hover {
    border-color: var(--primary);
    background-color: #fff;
}

.btn-delete-file {
    background-color: #fff;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    margin-top: 8px;
    width: 100%;
    transition: all 0.2s;
}

.btn-delete-file:hover {
    background-color: #d32f2f;
    color: #fff;
    border-color: #d32f2f;
}

/* Modern Alternative Modal Design */
.modal-alternative {
    background-color: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    padding: 40px !important;
    max-width: 500px !important;
    width: 90% !important;
    position: relative;
    border: none !important;
    font-family: 'Lato', sans-serif;
    text-align: center;
}

.modal-alternative h3 {
    color: #1a202c !important;
    font-weight: 900;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.modal-alternative p {
    color: #4a5568 !important;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.modal-alternative i.fa {
    color: var(--primary) !important;
    /* System Blue */
    margin-bottom: 20px;
}

.modal-alternative .form-control {
    background-color: #edf2f7 !important;
    border: 1px solid #e2e8f0 !important;
    color: #2d3748 !important;
    border-radius: 10px !important;
    padding: 12px !important;
    font-size: 1.25rem !important;
    letter-spacing: 2px;
    transition: all 0.2s;
}

.modal-alternative .form-control:focus {
    background-color: #fff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 69, 173, 0.1) !important;
}

.modal-alternative .btn-primary {
    background-color: var(--primary) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px 0 rgba(0, 69, 173, 0.39) !important;
    transition: transform 0.2s;
    width: 100%;
}

.modal-alternative .btn-primary:hover {
    transform: translateY(-2px);
    background-color: #003380 !important;
    box-shadow: 0 6px 20px rgba(0, 69, 173, 0.23) !important;
}

.modal-alternative .close-modal {
    color: #fff !important;
    top: 15px;
    right: 20px;
}

.modal-alternative .close-modal:hover {
    color: #e53e3e !important;
    /* Red on hover */
}

.modal-alternative .spinner {
    border-color: rgba(0, 69, 173, 0.1);
    border-top-color: var(--primary);
}

strong {
    font-weight: 900;
    color: var(--primary);
}

.table-button {
    display: flex;
    justify-content: flex-start;
    grid-column: span 2;
    margin-bottom: 20px;
    margin-top: 20px;
    gap: 10px;
    flex-wrap: wrap;
}

/* Validation styles for Password Strength */
.invalid {
    background: url('../images/invalid.png') no-repeat 0 50%;
    padding-left: 28px;
    line-height: 24px;
    color: var(--secondary);
    font-weight: 600;
}

.valid {
    background: url('../images/valid.png') no-repeat 0 50%;
    padding-left: 28px;
    line-height: 24px;
    color: var(--success);
    font-weight: 600;
}

#pswd_info {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    margin-top: 20px;
}

#pswd_info h4 {
    margin-top: 0;
    font-size: 1rem;
    color: var(--primary);
}

/* Document Modal Specific Styles */
#modal-document.modal-overlay {
    background-color: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

#modal-document .modal-content {
    width: 90% !important;
    max-width: 1100px !important;
    height: 82vh !important;
    max-height: 85vh !important;
    margin: 4vh auto !important;
    display: flex;
    flex-direction: column;
    padding: 25px !important;
    background: rgb(255, 255, 255) !important;
    border-radius: 15px !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    box-shadow: none !important;
}

.modal-doc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 15px;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.modal-doc-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-family: 'Montserrat', sans-serif;
    color: #1a365d;
    font-weight: 700;
}

.close-modal-doc {
    font-size: 32px;
    font-weight: bold;
    color: #718096;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    line-height: 1;
    display: inline-block;
    padding: 0 5px;
}

.close-modal-doc:hover {
    color: #2d3748;
    transform: scale(1.1);
}

.modal-doc-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0; /* Ensures inner iframe can stretch correctly */
}

#modal-doc-frame {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    background-color: #f7fafc;
    flex: 1;
}

#modal-doc-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 40px 20px;
    background-color: #f7fafc;
    border-radius: 8px;
    border: 2px dashed #e2e8f0;
}

#modal-doc-fallback p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 20px;
    font-family: 'Lato', sans-serif;
}

#modal-doc-fallback .document-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3182ce, #2b6cb0);
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(50, 115, 220, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#modal-doc-fallback .document-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(50, 115, 220, 0.3);
}

/* ==========================================
   Professional UI Document Center & Alerts
   ========================================== */
.doc-center-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 35px;
    margin-top: 15px;
}

.doc-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    padding: 26px;
    display: flex;
    gap: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.doc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border-color: rgba(0, 167, 229, 0.3);
}

.doc-card.highlight {
    background: linear-gradient(135deg, #ffffff 0%, #f6faff 100%);
    border: 1px solid rgba(0, 167, 229, 0.25);
    box-shadow: 0 4px 20px rgba(0, 167, 229, 0.05);
}

.doc-card.highlight:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 167, 229, 0.12);
}

.doc-icon {
    font-size: 2.8rem;
    color: var(--primary);
    display: flex;
    align-items: flex-start;
    padding-top: 2px;
}

.doc-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.doc-info h4 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a365d;
}

.doc-info p {
    font-size: 0.95rem;
    color: #4a5568;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.doc-info .document-btn {
    margin-bottom: 0;
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 0.95rem;
}

.decretos-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    width: 100%;
}

.decreto-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    background: #f7fafc;
    color: #4a5568;
    padding: 11px 14px;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
}

.decreto-link:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

/* Alert Overrides */
.alert-info {
    background-color: #ffffff !important;
    border-left: 6px solid var(--primary) !important;
    padding: 30px !important;
    border-radius: 16px !important;
    color: #2d3748 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.alert-info h4 {
    color: #1a365d !important;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-info h4 i {
    color: var(--primary);
    font-size: 1.4rem;
}

.alert-success {
    background-color: #ffffff !important;
    border-left: 6px solid var(--success) !important;
    padding: 26px !important;
    border-radius: 16px !important;
    color: #2d3748 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.alert-success h5 {
    color: #2f855a !important;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-success h5 i {
    color: var(--success);
}

.alert-success .document-btn {
    border-radius: 10px;
    padding: 11px 20px;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
}

.alert-danger {
    background-color: #fff5f5 !important;
    border-left: 6px solid var(--secondary) !important;
    padding: 30px !important;
    border-radius: 16px !important;
    color: #4a1525 !important;
    box-shadow: 0 4px 20px rgba(225, 29, 72, 0.05) !important;
    border: 1px solid rgba(225, 29, 72, 0.15) !important;
    margin-top: 35px;
}

.alert-danger h4 {
    color: #9f1239 !important;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-danger h4 i {
    color: var(--secondary);
    font-size: 1.4rem;
}

.alert-danger ul {
    margin: 0;
    padding-left: 20px;
}

.alert-danger li {
    margin-bottom: 12px;
    list-style-type: disc !important;
    text-align: justify;
    line-height: 1.6;
}

.alert-danger li::marker {
    color: var(--secondary);
}

/* ==========================================
   Manual / Help Page Styles
   ========================================== */
.manual-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 20px;
    padding: 40px;
    color: #ffffff;
    margin-bottom: 40px;
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.15);
}

.manual-hero h1 {
    color: #ffffff !important;
    border-bottom: none !important;
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 900;
    display: block !important;
    padding-bottom: 0 !important;
}

.manual-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    text-align: left;
}

.manual-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.step-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 25px;
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.step-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #1a365d;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.step-card h4 {
    color: var(--primary);
    font-size: 1.15rem;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 700;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.step-card h5 {
    color: var(--accent);
    font-size: 1.05rem;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 700;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 148, 136, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.step-badge.step-1 {
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary);
}

.step-badge.step-2 {
    background: rgba(13, 148, 136, 0.1);
    color: var(--accent);
}

.step-badge.step-3 {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.step-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 0 0 !important;
}

.step-list-item {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.6;
}

.step-list-item:last-child {
    margin-bottom: 0;
}

.step-list-item::before {
    content: "\f00c"; /* check icon */
    font-family: FontAwesome;
    position: absolute;
    left: 5px;
    top: 2px;
    color: var(--success);
    font-size: 1.1rem;
}

.step-list-item.warning::before {
    content: "\f12a"; /* exclamation icon */
    color: var(--secondary);
}

.ui-mockup-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed #e2e8f0;
}

.ui-mockup-chip {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #4a5568;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ui-mockup-chip i {
    color: var(--primary);
}

.faq-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.faq-card {
    background: #ffffff;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-right: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.faq-card h4 {
    color: var(--secondary) !important;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 700;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.support-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    margin-top: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.support-banner h4 {
    color: #ffffff !important;
    border-bottom: none !important;
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 700;
}

.support-email {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 8px;
    display: inline-block;
    color: #10b981;
    font-weight: bold;
    margin: 15px 0;
    border: 1px dashed rgba(255,255,255,0.25);
    text-decoration: none;
    transition: all 0.2s ease;
}

.support-email:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.support-banner p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 0;
    text-align: center;
}

/* Step Wizard Styles */
.stepwizard {
    display: block;
    width: 100%;
    position: relative;
    margin: 20px 0 35px 0;
}
.stepwizard-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.stepwizard-row::before {
    top: 20px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 3px;
    background-color: #e2e8f0;
    z-index: 1;
}
.stepwizard-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}
.stepwizard-step p {
    margin-top: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #64748b;
}
.btn-circle {
    width: 42px !important;
    height: 42px !important;
    text-align: center;
    padding: 0 !important;
    font-size: 1.15rem !important;
    line-height: 42px !important;
    border-radius: 50% !important;
    font-weight: bold !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 2px solid #fff !important;
    z-index: 10;
}
.stepwizard-step .btn-warning.btn-circle {
    background-color: var(--primary) !important;
    color: #fff !important;
    border-color: #fff !important;
}
.stepwizard-step .btn-default.btn-circle {
    background-color: #f1f5f9 !important;
    color: #94a3b8 !important;
    border-color: #fff !important;
}