/* =============================================
   SZV Exact Replica Theme - Social & Health Insurances
   Brand: #0067B1 (Blue), #F29202 (Orange)
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');

:root {
    --szv-blue: #0067B1;
    --szv-orange: #F29202;
    --szv-grey: #A7A9AC;
    --szv-dark-footer: #0056A0;
}

* { box-sizing: border-box; }

body {
    font-family: 'Open Sans', Arial, sans-serif;
    background-color: #f0f4f8;
    color: #333;
    margin: 0;
    padding: 0;
}

/* ===== OVERRIDE main container ===== */
main.container { max-width: 100% !important; padding: 0 !important; }

/* ===== HIDE default page title/meta shown by Index ===== */
.page-title-area { display: none; }
h2.page-heading { display: none; }

/* ===== TOP BAR with Logo + Search ===== */
.szv-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 30px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}
.szv-logo img { height: 70px; }
.szv-top-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
.szv-search-btn {
    background-color: var(--szv-orange);
    color: white;
    border: none;
    padding: 8px 18px;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
}
.szv-search-input {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
    width: 200px;
}

/* ===== MAIN NAVBAR ===== */
.navbar {
    background-color: var(--szv-blue) !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
}
.navbar .container { padding: 0; max-width: 100% !important; }
.navbar-nav { flex-wrap: wrap; }
.nav-item .nav-link {
    color: white !important;
    font-weight: 600;
    font-size: 0.92rem;
    text-transform: uppercase;
    padding: 14px 20px !important;
    border-right: 1px solid rgba(255,255,255,0.15);
    border-radius: 0 !important;
    transition: background 0.2s;
}
.nav-item .nav-link:hover, .nav-item .nav-link.active {
    background-color: var(--szv-grey) !important;
    color: white !important;
}
.navbar-brand { display: none; } /* Logo is in top bar now */
.navbar-toggler { border-color: rgba(255,255,255,0.5); }
.navbar-toggler-icon { filter: invert(1); }

/* ===== ACCORDIONS QUICKLINK GRID ===== */
.szv-accordion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 20px 20px 10px 20px;
    background: #eef4fb;
    align-items: start;
}
.szv-acc-item {
    display: flex;
    flex-direction: column;
}
.szv-quicklink-btn {
    display: flex;
    align-items: center;
    gap: 18px;
    background-color: var(--szv-blue);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 24px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    outline: 3px solid rgba(255,255,255,0.25);
    cursor: pointer;
    width: 100%;
    text-align: left;
    min-height: 78px;
    transition: background 0.2s;
}
.szv-quicklink-btn:hover,
.szv-quicklink-btn[aria-expanded="true"] {
    background-color: #005494;
    outline-color: rgba(255,255,255,0.5);
}
.szv-chevron {
    transition: transform 0.25s ease;
    font-size: 0.75rem;
    opacity: 0.75;
}
.szv-quicklink-btn[aria-expanded="true"] .szv-chevron {
    transform: rotate(180deg);
}
.szv-quicklink-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2.5px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.4rem;
}
.szv-acc-content {
    overflow: hidden;
}
.szv-acc-body {
    background: white;
    border-left: 4px solid var(--szv-blue);
    border-radius: 0 0 12px 12px;
    padding: 20px 24px;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #333;
    box-shadow: 0 4px 12px rgba(0,75,135,0.08);
}
.szv-acc-body ol, .szv-acc-body ul {
    padding-left: 20px;
    margin-bottom: 10px;
}
.szv-acc-body li {
    margin-bottom: 8px;
}
.szv-acc-body .btn-primary {
    background-color: var(--szv-blue);
    border-color: var(--szv-blue);
    font-size: 0.9rem;
}

/* ===== NEWS + BANNER SECTION ===== */
.szv-lower-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 10px;
}
.szv-news-list { padding: 10px 20px; background: #eef4fb; }
.szv-news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--szv-blue);
    color: white;
    padding: 13px 18px;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s;
}
.szv-news-item:hover { background: #005494; color: white; text-decoration: none; }
.szv-news-item .chevron { font-size: 1.1rem; flex-shrink: 0; margin-left: 12px; }

.szv-banner-side { background: #eef4fb; padding: 10px 20px; }
.szv-banner-side img { width: 100%; border-radius: 4px; object-fit: cover; max-height: 380px; }

/* ===== FOOTER ===== */
.szv-footer {
    background-color: var(--szv-blue);
    color: white;
    padding: 40px 30px 20px 30px;
    margin-top: 20px;
}
.szv-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 30px;
}
.szv-footer a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
}
.szv-footer a:hover { text-decoration: underline; }
.szv-footer h5 { font-weight: 700; margin-bottom: 14px; font-size: 1.05rem; }
.szv-footer p { font-size: 0.9rem; margin: 2px 0; }
.szv-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}
.szv-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    margin-right: 6px;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* ===== ADMIN OVERLAY (edit mode) ===== */
.edit-overlay { display: none; position: absolute; top: 0; right: 0; background: rgba(0,0,0,0.5); padding: 5px; border-radius: 0 0 0 5px; z-index: 10; }
.component-container { position: relative; border: 1px dashed transparent; transition: 0.3s; }
.component-container:hover { border-color: #0d6efd; border-style: dashed; }
.component-container:hover .edit-overlay { display: block; }
.insert-btn-wrapper { text-align: center; margin: -10px 0; position: relative; z-index: 20; opacity: 0; transition: 0.3s; }
.insert-btn-wrapper:hover, .component-container:hover + .insert-btn-wrapper { opacity: 1; }

/* ===== Code Editor in settings modal ===== */
.code-editor { font-family: monospace; height: 300px; }

/* ===== Admin Bar (top strip for editor) ===== */
.szv-admin-bar {
    background: #1a1a2e;
    color: white;
    padding: 6px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}
