/**
 * CoastalSun Modern Notifications & Toasts
 * Replaces primitive browser alerts and Bootstrap flash alerts
 * with elegant glassmorphism toasts and modal dialogs.
 */

/* Container for floating toasts */
#coastal-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 400px;
    width: calc(100vw - 32px);
}

@media (max-width: 576px) {
    #coastal-toast-container {
        top: 16px;
        right: 16px;
        left: 16px;
        width: auto;
        max-width: none;
    }
}

/* Individual Toast Card */
.coastal-toast {
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 14px;
    padding: 14px 16px 16px 16px;
    box-shadow: 0 12px 32px -4px rgba(13, 59, 102, 0.15), 0 4px 12px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.95);
    animation: coastalToastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: transform 0.25s ease, opacity 0.25s ease, margin 0.25s ease, box-shadow 0.25s ease;
}

.coastal-toast:hover {
    box-shadow: 0 16px 36px -4px rgba(13, 59, 102, 0.22), 0 6px 16px -2px rgba(0, 0, 0, 0.08);
}

.coastal-toast.coastal-toast-hiding {
    animation: coastalToastSlideOut 0.3s cubic-bezier(0.4, 0, 1, 1) forwards;
    pointer-events: none;
}

/* Slide in & Slide out keyframes */
@keyframes coastalToastSlideIn {
    from {
        opacity: 0;
        transform: translateX(110%) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes coastalToastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
        max-height: 160px;
        margin-bottom: 0;
    }
    to {
        opacity: 0;
        transform: translateX(110%) scale(0.92);
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: -12px;
    }
}

/* Icon wrap */
.coastal-toast-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 17px;
    margin-top: 1px;
}

/* Content */
.coastal-toast-content {
    flex: 1;
    min-width: 0;
}

.coastal-toast-title {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.coastal-toast-message {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
    font-size: 12.5px;
    color: #475569;
    margin: 0;
    line-height: 1.45;
    word-break: break-word;
}

/* Optional inline action button */
.coastal-toast-action {
    margin-top: 8px;
    display: flex;
    gap: 8px;
}

.coastal-toast-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0d3b66;
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
}

.coastal-toast-action-btn:hover {
    background: #fdc703;
    color: #0d3b66 !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(253, 199, 3, 0.4);
}

/* Close Button */
.coastal-toast-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    padding: 3px 6px;
    border-radius: 6px;
    line-height: 1;
    transition: color 0.15s ease, background-color 0.15s ease;
    flex-shrink: 0;
    margin-left: 2px;
}

.coastal-toast-close:hover {
    color: #1e293b;
    background: rgba(148, 163, 184, 0.15);
}

/* Progress Countdown Bar */
.coastal-toast-progress-track {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.05);
}

.coastal-toast-progress {
    height: 100%;
    width: 100%;
    transform-origin: left;
    animation: coastalToastProgress linear forwards;
}

.coastal-toast:hover .coastal-toast-progress {
    animation-play-state: paused !important;
}

@keyframes coastalToastProgress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

/* Toast Color Themes */
/* 1. Success */
.coastal-toast-success {
    border-left: 4px solid #10b981;
}
.coastal-toast-success .coastal-toast-icon-wrap {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}
.coastal-toast-success .coastal-toast-progress {
    background: #10b981;
}

/* 2. Error / Danger */
.coastal-toast-error {
    border-left: 4px solid #ef4444;
}
.coastal-toast-error .coastal-toast-icon-wrap {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}
.coastal-toast-error .coastal-toast-progress {
    background: #ef4444;
}

/* 3. Warning */
.coastal-toast-warning {
    border-left: 4px solid #f59e0b;
}
.coastal-toast-warning .coastal-toast-icon-wrap {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}
.coastal-toast-warning .coastal-toast-progress {
    background: #f59e0b;
}

/* 4. Info */
.coastal-toast-info {
    border-left: 4px solid #0d3b66;
}
.coastal-toast-info .coastal-toast-icon-wrap {
    background: rgba(13, 59, 102, 0.12);
    color: #0d3b66;
}
.coastal-toast-info .coastal-toast-progress {
    background: #0d3b66;
}

/* ========================================================
   MODAL ALERT & CONFIRM DIALOG SYSTEM (CoastalAlert)
   ======================================================== */

.coastal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: coastalModalFadeIn 0.25s ease forwards;
}

.coastal-modal-overlay.coastal-modal-hiding {
    animation: coastalModalFadeOut 0.2s ease forwards;
    pointer-events: none;
}

@keyframes coastalModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes coastalModalFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.coastal-modal-card {
    background: #ffffff;
    border-radius: 20px;
    max-width: 440px;
    width: 100%;
    padding: 32px 28px 26px 28px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(13, 59, 102, 0.3), 0 0 0 1px rgba(226, 232, 240, 0.8);
    animation: coastalModalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes coastalModalPopIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.coastal-modal-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 18px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.coastal-modal-icon-wrap.success {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.coastal-modal-icon-wrap.error {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.coastal-modal-icon-wrap.warning {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.coastal-modal-icon-wrap.info {
    background: rgba(13, 59, 102, 0.12);
    color: #0d3b66;
}

.coastal-modal-title {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.coastal-modal-message {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 24px 0;
}

.coastal-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.coastal-modal-btn {
    flex: 1;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
}

.coastal-modal-btn-confirm {
    background: #0d3b66;
    color: #ffffff;
}

.coastal-modal-btn-confirm:hover {
    background: #092742;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 59, 102, 0.25);
}

.coastal-modal-btn-cancel {
    background: #f1f5f9;
    color: #475569;
}

.coastal-modal-btn-cancel:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* ========================================================
   MODERN COMPACT AUTH SYSTEM (Login & SignUp)
   ======================================================== */
.modal {
    z-index: 1070 !important;
}
.modal-backdrop {
    z-index: 1060 !important;
}
#safeChatModal2, #safeChatModal, #loginModal, #reportModal {
    z-index: 1070 !important;
}

#loginModal .modal-dialog {
    max-width: 400px;
    margin: 1.5rem auto;
    display: flex;
    align-items: center;
    min-height: calc(100% - 3rem);
}

@media (max-width: 576px) {
    #loginModal .modal-dialog {
        max-width: calc(100% - 32px);
        margin: 1rem auto;
    }
}

#loginModal .modal-content {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 50px -10px rgba(13, 59, 102, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    position: relative;
    padding: 0;
}

#loginModal .modal-body {
    padding: 26px 24px 22px 24px;
}

@media (max-width: 480px) {
    #loginModal .modal-body {
        padding: 22px 18px 20px 18px;
    }
}

/* Close button */
#loginModal .cs-modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

#loginModal .cs-modal-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

/* Header badge & title */
.cs-auth-header {
    text-align: center;
    margin-bottom: 16px;
}

.cs-auth-icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(13, 59, 102, 0.08) 0%, rgba(253, 199, 3, 0.18) 100%);
    color: #0d3b66;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 auto 10px auto;
    border: 1px solid rgba(13, 59, 102, 0.1);
}

.cs-auth-title {
    font-size: 20px !important;
    font-weight: 700;
    color: #0d3b66;
    margin: 0 0 3px 0;
    letter-spacing: -0.02em;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.cs-auth-subtitle {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.35;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Form group & input */
.cs-auth-form-group {
    margin-bottom: 11px;
    text-align: left;
}

.cs-auth-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.cs-auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.cs-auth-input-icon {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    font-size: 13px;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 2;
}

.cs-auth-input {
    width: 100%;
    height: 40px !important;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 34px 0 34px;
    font-size: 13px !important;
    color: #0f172a;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    transition: all 0.2s ease;
}

.cs-auth-input:focus {
    background: #ffffff;
    border-color: #0d3b66;
    box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.08);
    outline: none;
}

.cs-auth-input-wrapper:focus-within .cs-auth-input-icon {
    color: #0d3b66;
}

.cs-auth-input::placeholder {
    color: #94a3b8;
    font-size: 13px !important;
    font-weight: 400;
    text-transform: none !important;
}

/* Password eye toggle */
.cs-auth-password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 13.5px;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 5px;
    z-index: 3;
}

.cs-auth-password-toggle i {
    pointer-events: none;
}

.cs-auth-password-toggle:hover {
    color: #0d3b66;
}

/* Forgot password link */
.cs-auth-forgot-link {
    display: block;
    text-align: right;
    font-size: 11.5px;
    font-weight: 500;
    color: #0d3b66;
    text-decoration: none !important;
    transition: color 0.15s ease;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.cs-auth-forgot-link:hover {
    color: #d97706;
}

/* Primary Submit Button */
.cs-auth-submit-btn {
    width: 100%;
    height: 42px;
    background: #0d3b66;
    color: #ffffff !important;
    border: none;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(13, 59, 102, 0.18);
    margin-top: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.cs-auth-submit-btn:hover {
    background: #092642;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -3px rgba(13, 59, 102, 0.3);
}

.cs-auth-submit-btn:active {
    transform: translateY(0);
}

/* Error message block */
.cs-auth-error-alert {
    display: none;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 12px;
    margin-bottom: 12px;
    text-align: left;
    align-items: center;
    gap: 7px;
}

/* Divider */
.cs-auth-divider {
    position: relative;
    text-align: center;
    margin: 16px 0 14px 0;
}

.cs-auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.cs-auth-divider span {
    position: relative;
    background: #ffffff;
    padding: 0 10px;
    font-size: 10.5px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Social Buttons Row */
.cs-auth-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

@media (max-width: 420px) {
    .cs-auth-social-grid {
        grid-template-columns: 1fr;
    }
}

.cs-auth-social-btn {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    padding: 0 10px;
}

.cs-auth-social-google {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #1e293b !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cs-auth-social-google:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.cs-auth-social-google img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.cs-auth-social-facebook {
    background: #1877f2;
    border: 1.5px solid #1877f2;
    color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(24, 119, 242, 0.2);
}

.cs-auth-social-facebook:hover {
    background: #1464cc;
    border-color: #1464cc;
    box-shadow: 0 3px 10px rgba(24, 119, 242, 0.35);
    transform: translateY(-1px);
}

.cs-auth-social-facebook img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Footer / Switch Auth */
.cs-auth-footer {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.cs-auth-footer a {
    color: #0d3b66;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s ease;
}

.cs-auth-footer a:hover {
    color: #d97706;
    text-decoration: underline;
}

/* ========================================================
   STANDALONE SIGN UP PAGE STYLING
   ======================================================== */
.cs-auth-page-section {
    background: #f8fafc;
    padding: 36px 15px 48px 15px;
    min-height: calc(100vh - 380px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-auth-page-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px -5px rgba(13, 59, 102, 0.07), 0 5px 15px rgba(0, 0, 0, 0.02);
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    padding: 28px 26px 24px 26px;
}

@media (max-width: 480px) {
    .cs-auth-page-card {
        padding: 22px 18px 20px 18px;
    }
}

.cs-auth-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 8px 0 12px 0;
    text-align: left;
}

.cs-auth-checkbox-group input[type="checkbox"] {
    margin-top: 2px;
    accent-color: #0d3b66;
    width: 14px;
    height: 14px;
    cursor: pointer;
    flex-shrink: 0;
}

.cs-auth-checkbox-label {
    font-size: 11.5px !important;
    color: #475569;
    line-height: 1.4;
    cursor: pointer;
    margin-bottom: 0 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.cs-auth-checkbox-label a {
    color: #0d3b66;
    font-weight: 600;
    text-decoration: underline;
}

.cs-auth-checkbox-label a:hover {
    color: #d97706;
}

.cs-auth-page-hero {
    background: linear-gradient(135deg, #0d3b66 0%, #174a7d 100%);
    padding: 24px 0;
    text-align: center;
    color: #ffffff;
}

.cs-auth-page-hero h1 {
    font-size: 20px !important;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 4px 0;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.cs-auth-page-hero p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* ==========================================================================
   COASTAL SUN CONTENT PAGES (FAQs, About Us, Privacy, Terms, Blog)
   - Refined typography with small fonts (12-13.5px)
   - Compact spacing & containerized layouts
   - Clean dark navy/gold palette
   ========================================================================== */

.cs-page-hero {
    background: linear-gradient(135deg, #0b192c 0%, #0d3b66 100%);
    padding: 26px 0 24px 0;
    color: #ffffff;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cs-page-hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 4px 0 !important;
    letter-spacing: -0.2px;
}

.cs-page-hero-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 12.5px !important;
    color: rgba(255, 255, 255, 0.78) !important;
    margin: 0 !important;
    line-height: 1.5;
}

.cs-page-hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 6px;
}

.cs-page-hero-breadcrumb a {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 500;
}

.cs-page-hero-breadcrumb a:hover {
    text-decoration: underline;
    color: #fbbf24;
}

.cs-content-section {
    padding: 28px 0 44px 0;
    background-color: #f8fafc;
    min-height: 480px;
}

.cs-content-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    padding: 24px 28px;
    margin-bottom: 20px;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.cs-content-card h2,
.cs-content-card h3,
.cs-content-card h4 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cs-content-card p {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    color: #475569 !important;
    margin-bottom: 12px;
}

.cs-content-card p:last-child {
    margin-bottom: 0;
}

.cs-content-card ol,
.cs-content-card ul {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    color: #475569 !important;
    padding-left: 20px;
    margin-bottom: 14px;
}

.cs-content-card ol li,
.cs-content-card ul li {
    margin-bottom: 6px;
}

/* FAQs Specific Styling */
.cs-faq-search-box {
    position: relative;
    max-width: 480px;
    margin: 0 auto 22px auto;
}

.cs-faq-search-input {
    width: 100%;
    height: 40px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 0 16px 0 38px;
    font-size: 12.5px;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.cs-faq-search-input:focus {
    border-color: #0d3b66;
    box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.12);
}

.cs-faq-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 13px;
    pointer-events: none;
}

.cs-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cs-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.cs-faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
}

.cs-faq-header {
    width: 100%;
    padding: 14px 18px;
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    gap: 12px;
}

.cs-faq-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.cs-faq-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    padding: 0 6px;
    background: rgba(13, 59, 102, 0.08);
    color: #0d3b66;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.cs-faq-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin: 0 !important;
    line-height: 1.4;
}

.cs-faq-arrow {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 12px;
    transition: transform 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
}

.cs-faq-item.is-open .cs-faq-arrow,
.cs-faq-header[aria-expanded="true"] .cs-faq-arrow {
    transform: rotate(180deg);
    color: #0d3b66;
}

.cs-faq-header[aria-expanded="true"] .cs-faq-badge {
    background: #0d3b66;
    color: #ffffff;
}

.cs-faq-header[aria-expanded="true"] .cs-faq-title {
    color: #0d3b66 !important;
}

.cs-faq-body {
    padding: 0 18px 16px 58px;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    color: #475569 !important;
}

/* About Us Pillars & Safety Cards */
.cs-pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.cs-pillar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.07);
    border-color: #cbd5e1;
}

.cs-pillar-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 12px;
}

.cs-pillar-icon.navy {
    background: rgba(13, 59, 102, 0.1);
    color: #0d3b66;
}

.cs-pillar-icon.gold {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.cs-pillar-icon.green {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.cs-pillar-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 6px 0 !important;
}

.cs-pillar-text {
    font-size: 12.5px !important;
    color: #64748b !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

.cs-safety-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 20px 0;
}

.cs-safety-box-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #92400e !important;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px !important;
}

.cs-safety-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12.5px;
    color: #78350f;
    margin-bottom: 8px;
    line-height: 1.5;
}

.cs-safety-step i {
    color: #d97706;
    font-size: 13px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Legal Policy Sticky TOC & Clean Sections */
.cs-legal-nav {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    position: sticky;
    top: 20px;
}

.cs-legal-nav-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cs-legal-nav-link {
    display: block;
    font-size: 12.5px;
    color: #64748b;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
    margin-bottom: 2px;
    transition: all 0.15s ease;
}

.cs-legal-nav-link:hover,
.cs-legal-nav-link.active {
    background: rgba(13, 59, 102, 0.08);
    color: #0d3b66;
    font-weight: 600;
    text-decoration: none;
}

.cs-legal-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.cs-legal-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 18px 0;
}

/* ==========================================================================
   BLOG MODERN DESIGN
   ========================================================================== */
.cs-blog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 22px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
}

.cs-blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.cs-blog-thumb-wrap {
    position: relative;
    width: 100%;
    padding-top: 52%;
    background: #0f172a;
    overflow: hidden;
}

.cs-blog-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cs-blog-card:hover .cs-blog-thumb {
    transform: scale(1.04);
}

.cs-blog-date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(13, 59, 102, 0.9);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

.cs-blog-body {
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cs-blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11.5px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.cs-blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cs-blog-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.4 !important;
    margin: 0 0 8px 0 !important;
    transition: color 0.15s ease;
}

.cs-blog-title a {
    color: inherit;
    text-decoration: none;
}

.cs-blog-title a:hover {
    color: #0d3b66;
    text-decoration: none;
}

.cs-blog-excerpt {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 14px;
    flex: 1;
}

.cs-blog-read-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #0d3b66;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.cs-blog-read-link:hover {
    gap: 10px;
    color: #d97706;
    text-decoration: none;
}

/* Blog Sidebar */
.cs-blog-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}

.cs-blog-sidebar-title {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 12px 0 !important;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cs-blog-search-form {
    position: relative;
}

.cs-blog-search-input {
    width: 100%;
    height: 38px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 40px 0 12px;
    font-size: 12px;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s ease;
}

.cs-blog-search-input:focus {
    border-color: #0d3b66;
}

.cs-blog-search-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 30px;
    height: 30px;
    background: #0d3b66;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.cs-blog-search-btn:hover {
    background: #d97706;
}

.cs-blog-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cs-blog-cat-item {
    margin-bottom: 6px;
}

.cs-blog-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12.5px;
    color: #475569;
    text-decoration: none;
    transition: all 0.15s ease;
}

.cs-blog-cat-link:hover {
    background: rgba(13, 59, 102, 0.08);
    color: #0d3b66;
    font-weight: 600;
    text-decoration: none;
}

.cs-blog-cat-icon {
    font-size: 11px;
    color: #94a3b8;
    transition: transform 0.15s ease;
}

.cs-blog-cat-link:hover .cs-blog-cat-icon {
    transform: translateX(3px);
    color: #0d3b66;
}

.cs-blog-recent-item {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.cs-blog-recent-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cs-blog-recent-thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.cs-blog-recent-content {
    flex: 1;
    min-width: 0;
}

.cs-blog-recent-title {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cs-blog-recent-title a {
    color: inherit;
    text-decoration: none;
}

.cs-blog-recent-title a:hover {
    color: #0d3b66;
}

.cs-blog-recent-date {
    font-size: 11px;
    color: #94a3b8;
    margin: 0;
}

/* Blog Detail Specific */
.cs-blog-detail-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.cs-blog-detail-thumb {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.cs-blog-detail-content {
    font-size: 13.5px;
    line-height: 1.75;
    color: #334155;
    margin-bottom: 24px;
}

.cs-blog-detail-content p {
    margin-bottom: 14px;
}

.cs-blog-share-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.cs-blog-share-label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-right: 4px;
}

.cs-blog-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    color: #ffffff;
    font-size: 12px;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.cs-blog-share-btn:hover {
    opacity: 0.85;
    color: #ffffff;
    text-decoration: none;
}

.cs-blog-share-fb { background: #1877f2; }
.cs-blog-share-tw { background: #1da1f2; }
.cs-blog-share-pin { background: #e60023; }
.cs-blog-share-li { background: #0a66c2; }
.cs-blog-share-wa { background: #25d366; }

.cs-comment-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.cs-comment-item:last-child {
    border-bottom: none;
}

.cs-comment-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.cs-comment-author {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
}

.cs-comment-time {
    font-size: 11px;
    color: #94a3b8;
    margin: 0 0 6px 0;
}

.cs-comment-text {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

.cs-comment-form-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 24px 0 12px 0 !important;
}

.cs-comment-input {
    width: 100%;
    height: 38px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 12px;
    color: #1e293b;
    outline: none;
    margin-bottom: 12px;
    transition: border-color 0.2s ease;
}

.cs-comment-input:focus {
    border-color: #0d3b66;
}

.cs-comment-textarea {
    width: 100%;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 12px;
    color: #1e293b;
    outline: none;
    margin-bottom: 12px;
    min-height: 90px;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.cs-comment-textarea:focus {
    border-color: #0d3b66;
}

.cs-comment-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: #0d3b66;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.cs-comment-submit-btn:hover {
    background: #d97706;
}

