﻿body {
    font-family: "Segoe UI", sans-serif;
    background: #f8f9fa;
}

.policy-wrapper {
    background: #fff;
    padding: 40px;
    margin: 40px auto;
    border-radius: 5px;
}



    .policy-wrapper p, .policy-wrapper li {
        font-size: 15.5px;
        line-height: 1.8;
        color: #333;
    }

.toc {
    background: #f1f7f9;
    padding: 20px;
    border-radius: 8px;
    position: sticky;
    top:100px;
}

    .toc ul {
        padding-left: 15px;
    }

    .toc li {
        margin-bottom: 8px;
    }

    .toc a {
        color: #029fc1;
        text-decoration: none;
        font-weight: 500;
    }

        .toc a:hover {
            text-decoration: underline;
        }

html {
    scroll-behavior: smooth;
}


/* ===== Policy Page Typography ===== */
.policy-wrapper h1 {
    font-size: 34px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
    line-height: 35px;
}

.policy-wrapper h2 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-top: 10px;
    line-height: 30px;
    margin-bottom: 10px;
}

.policy-wrapper h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-top: 20px;
    line-height: 22px;
    margin-bottom: 8px;
}

.policy-wrapper p {
    font-size: 14.8px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 12px;
}

.policy-wrapper ul {
    padding-left: 18px;
}

    .policy-wrapper ul li {
        font-size: 14.5px;
        line-height: 1.8;
        color: #444;
        margin-bottom: 8px;
        list-style:none !important;
    }


/* Light Header for Policy Page */
.policy-header-light {
    background: #f4fbfd;
    border: 1px solid #e2f3f8;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 25px;
}

    .policy-header-light h1 {
        font-size: 32px;
        font-weight: 700;
        color: #029fc1;
        margin-bottom: 6px;
    }

    .policy-header-light p {
        font-size: 14px;
        color: #555;
        margin: 0;
    }


.policy-wrapper h2,
.policy-wrapper h3 {
    scroll-margin-top: 110px;
}

.policy-wrapper a {
    color: #029fc1;
}




/* Footer inside Policy Wrapper */
.policy-consent-footer {
    margin-top: 40px;
    background: #f4fbfd;
    border: 1px solid #e2f3f8;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

    /* Text */
    .policy-consent-footer p {
        margin-bottom: 15px;
        font-size: 14px;
        color: #444;
    }

/* Button Wrapper */
.consent-action {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: wrap;
    border-top: 1px solid #ccc;
    padding-top:20px;
}

/* Base Button */
.btn-consent {
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
    min-width: 260px;
}



.consent-message {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
}

.consent-success {
    color: #28a745;
}

.consent-error {
    color: #dc3545;
}

/* Base Button */
.btn-consent {
    padding:9px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    min-width: 260px;
    transition: all 0.3s ease;
 
}

.agree-btn {
    background: #e6f7fb;
    color: #029fc1; 
    border: 1px solid #bfeaf5;
}

    .agree-btn:hover {
        background: #d4f1f9;
        box-shadow: 0 4px 12px rgba(2,159,193,0.15);
    }


.disagree-btn {
    background: #fbeeee;
    color: #ff0000;
    border: 1px solid #ffa9a9;
}

    .disagree-btn:hover {
        background: #e9ecef;
        box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    }

@media (max-width: 768px) {
    .policy-wrapper h2,
    .policy-wrapper h3 {
        scroll-margin-top: 70px;
    }
}

.right-box {
    height: 450px;
    overflow: hidden;
    overflow-y: overlay;
}

/*16-02-2026*/
.modal-content {
    border-radius: 12px;
    overflow: hidden;
}

.consent-header {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
}

    .consent-header h4 {
        margin: 0;
        font-weight: 600;
        font-size:25px;
        line-height:28px;
        font-weight: 600;
        color: #333;
    }
.consent-body p{
    margin-bottom:0;
}
.updated-text {
    font-size: 13px;
    color: #888;
}

.consent-body {
    padding: 20px 30px;
    max-height: 450px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}

    .consent-body h6 {
        font-weight: 600;
        margin-top: 15px;
    }

.consent-footer {
    padding: 15px 30px;
    border-top: 1px solid #eee;
    background: #fafafa;
    text-align: end;
    position: relative;
}

.btn-consent {
    background: #e0e0e0;
    color: #333;
    border-radius: 50px;
    padding: 8px 28px;
    border: none;
    margin: 0 8px;
    transition: 0.5s all;
}

    .btn-consent:hover {
        transform: scale(1.01);
    }

    .btn-consent:last-child {
        background: #029fc1;
        color: #fff;
    }

.message-text {
    font-size: 13px;
    color: #d9534f;
    margin-top: 10px;
    display: none;
    position: absolute;
    top: 0;
}

.consent-bold {
    font-weight: 600;
}

.form-check-label {
    font-size: 15px;
}


.policy-link {
    color: #029fc1;
    font-weight: 600;
    text-decoration: underline;
}

    .policy-link:hover {
        text-decoration: underline;
    }

#consentModal {
    display: none;
    z-index: 9999999;
}

#consentModal.show {
    display: block;
}


.consent-body p{
    margin-bottom:2px;
}

.consent-body h6 {
    font-weight: 700;
    margin-top: 15px;
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 10px;
}

input#agreeCheck {
    width: 25px;
    margin-bottom: 0;
    cursor:pointer;
}
.form-check.mt-3 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
    .form-check.mt-3 label {
        cursor: pointer;
    }
.btn-consent {
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    min-width: 145px;
    transition: all 0.3s ease;
}
.upload-box {
    border: 1px dashed rgba(28, 149, 182, .45) !important;
    background: #f8f8f8 !important;
}
body {
    background: #fff;
}

@media screen and (max-width:1024px) {
    .consent-footer {
        padding-top:30px;
    }
    .message-text {
        top: -10px;
    }
    .consent-footer {
        display: flex;
        justify-content: flex-end;
    }
}

@media screen and (max-width:768px) {
    .message-text {
        top: -10px;
        left: 50%;
        width: 100%;
        transform: translateX(-50%);
    }
    .consent-footer {
        display: flex;
        justify-content: center;
    }
}