﻿.complaint-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    padding: 30px 20px;
    color: #1a1a2e;
}

/* ── Section Wrapper ── */
.flowchart-section {
    border: 2px solid #4caf50;
    border-radius: 10px;
    padding: 20px 24px 28px;
    margin-bottom: 36px;
    background: #ffffff;
}

.flowchart-section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #1a1a2e;
    margin-bottom: 24px;
    text-transform: uppercase;
}

/* ── Level Row ── */
.levels-row {
    display: flex;
    align-items: flex-start;
    gap: 0;
    flex-wrap: nowrap;
}

/* ── Arrow connector ── */
.arrow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 48px;
    flex-shrink: 0;
    width: 48px;
}

    .arrow-connector svg {
        display: block;
    }

/* ── Level Card ── */
.level-card {
    flex: 1;
    min-width: 0;
    background: #d6eaf8;
    border-radius: 8px;
    padding: 14px 16px;
    position: relative;
}

.level-label {
    display: inline-block;
    background: #1565c0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 5px 20px;
    border-radius: 6px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.level-card p {
    font-size: 16px;
    line-height: 1.55;
    color: #1a1a2e;
    margin: 0 0 6px 0;
}

.level-card a,
.level-card .link-red {
    color: #c0392b;
    font-weight: 600;
    text-decoration: none;
}

    .level-card a:hover {
        text-decoration: underline;
    }

.level-card .link-blue {
    color: #1565c0;
    font-weight: 600;
    text-decoration: none;
}

/* Highlight box inside Level 2 (branches) */
.highlight-box {
    border: 2px solid #e74c3c;
    border-radius: 6px;
    padding: 10px 14px;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #c0392b;
}

/* ── Officer details ── */
.officer-block {
    font-size: 14px;
    line-height: 1.7;
    color: #1a1a2e;
}

    .officer-block .email-link {
        color: #1565c0;
        font-weight: 600;
        text-decoration: none;
    }

        .officer-block .email-link:hover {
            text-decoration: underline;
        }

/* ── Banking Ombudsman wrapper ── */
.ombudsman-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 36px;
}

/* ── Down arrow ── */
.ombudsman-down-arrow {
    display: flex;
    justify-content: center;
    margin: 4px 0;
}

/* ── Disclaimer heading box ── */
.disclaimer-box {
    background: #1a3a6b;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 8px;
    max-width: 520px;
    width: 100%;
    line-height: 1.5;
}

/* ── Banking Ombudsman card ── */
.ombudsman-card {
    max-width: 520px;
    width: 100%;
    background: #d6eaf8;
    border-radius: 8px;
    padding: 14px 16px;
}

.ombudsman-label {
    display: inline-block;
    background: #1565c0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 5px 20px;
    border-radius: 6px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.ombudsman-card p,
.ombudsman-card ol {
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a2e;
    margin: 0 0 6px 0;
}

.ombudsman-card ol {
    padding-left: 18px;
}

    .ombudsman-card ol li {
        margin-bottom: 4px;
    }

.ombudsman-card a {
    color: #1565c0;
    font-weight: 600;
    text-decoration: none;
}

.ombudsman-card .highlight-addr {
    color: #c0392b;
    font-weight: 600;
}

/* ── Responsive ── */
@@media (max-width: 768px) {
.dept-list {
    font-size: 14px;
    line-height: 1.7;
    color: #1a1a2e;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .dept-list li {
        margin-bottom: 2px;
    }

    .dept-list .urgent {
        font-weight: 700;
        color: #1a1a2e;
    }

/* ── Vertical arrow for ombudsman ── */
.vertical-arrow-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 8px;
    width: 48px;
    flex-shrink: 0;
}

/* ── Responsive ── */
@@media (max-width: 768px) {
    .levels-row {
        flex-direction: column;
    }

    .arrow-connector {
        transform: rotate(90deg);
        width: 100%;
        justify-content: center;
        padding-top: 0;
        padding: 4px 0;
    }

    .ombudsman-wrapper {
        justify-content: stretch;
    }

    .ombudsman-card {
        max-width: 100%;
    }
}
