/* =============================================
   POLICY PAGES - Trang Chính Sách
   Dùng cho: ChinhSachBaoMat, DieuKhoanSuDung, ChinhSachKhieuNai
   ============================================= */

/* Hero Banner */
.policy-hero {
    background: linear-gradient(135deg, #0f2d6e 0%, #1a4fa8 50%, #2563c7 100%);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.policy-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.policy-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.policy-hero h1 {
    color: #ffffff !important;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.policy-hero .breadcrumb {
    background: transparent;
    padding: 0;
}

.policy-hero .breadcrumb-item a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.9rem;
}

.policy-hero .breadcrumb-item.active {
    color: rgba(255,255,255,0.95);
    font-size: 0.9rem;
}

.policy-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

.policy-hero .policy-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(255,255,255,0.25);
    margin-bottom: 12px;
    backdrop-filter: blur(4px);
}

/* Main Content Area */
.policy-content {
    background: #f7f9fc;
    min-height: 60vh;
    padding: 50px 0 60px;
}

.policy-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(26, 60, 110, 0.08);
    padding: 40px 48px;
}

@media (max-width: 768px) {
    .policy-card {
        padding: 24px 20px;
    }
    .policy-hero h1 {
        font-size: 1.5rem;
    }
}

/* Section headings */
.policy-section-title {
    color: #1a3c6e !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 6px;
    border-bottom: 2px solid #e8f0fc;
    margin-bottom: 14px !important;
}

.policy-section-title .section-num {
    background: linear-gradient(135deg, #1a4fa8, #2563c7);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Info cards (contact section) */
.policy-info-card {
    background: #f0f5ff;
    border: 1px solid #d4e2f8;
    border-radius: 12px;
    padding: 18px 20px;
    transition: all 0.25s ease;
    height: 100%;
}

.policy-info-card:hover {
    background: #e3edff;
    border-color: #2563c7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 199, 0.12);
}

.policy-info-card .info-icon {
    font-size: 1.4rem;
    margin-bottom: 6px;
    display: block;
}

.policy-info-card h3 {
    color: #1a3c6e !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.policy-info-card p {
    color: #334155;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
}

/* Table styling */
.policy-table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.policy-table thead th {
    background: linear-gradient(135deg, #1a3c6e, #2563c7) !important;
    color: white !important;
    font-weight: 600;
    padding: 14px 16px;
    border: none;
}

.policy-table tbody tr {
    transition: background 0.2s;
}

.policy-table tbody tr:hover {
    background-color: #f0f5ff;
}

.policy-table tbody td {
    padding: 12px 16px;
    border-color: #e8f0fc;
    color: #334155;
    font-size: 0.93rem;
}

/* Ordered list steps */
.policy-steps {
    counter-reset: step;
    list-style: none;
    padding-left: 0;
}

.policy-steps li {
    counter-increment: step;
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.policy-steps li::before {
    content: counter(step);
    background: linear-gradient(135deg, #1a4fa8, #2563c7);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Highlight box */
.policy-highlight {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-left: 4px solid #2563c7;
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin: 16px 0;
}

.policy-highlight p {
    margin: 0;
    color: #1e3a5f;
    font-size: 0.95rem;
}

/* Date badge */
.policy-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0f5ff;
    color: #1a3c6e;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.83rem;
    border: 1px solid #d4e2f8;
    margin-bottom: 24px;
}

/* Divider */
.policy-divider {
    border: none;
    border-top: 1px solid #e8f0fc;
    margin: 28px 0;
}

/* Links inside policy */
.policy-card a {
    color: #2563c7;
    text-decoration: none;
    font-weight: 500;
}

.policy-card a:hover {
    text-decoration: underline;
    color: #1a4fa8;
}

/* ul list in policy */
.policy-card ul {
    padding-left: 0;
    list-style: none;
}

.policy-card ul li {
    padding: 5px 0 5px 22px;
    position: relative;
    color: #334155;
    font-size: 0.95rem;
}

.policy-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563c7;
    font-weight: 700;
}
