/* ===========================
   Cookies Policy Page Styles
   FinPluss Design System
   =========================== */

/* ========== BASE STYLES ========== */
.cookies-main {
    padding: 60px 0;
    background-color: #FFF8F0;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
}

.cookies-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== PAGE HEADER ========== */
.cookies-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 2px solid #E5E5E5;
}

.cookies-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    animation: cookies-float 3s ease-in-out infinite;
}

@keyframes cookies-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.cookies-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #243E93;
    margin-bottom: 12px;
}

.cookies-updated {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* ========== INTRODUCTION SECTION ========== */
.cookies-intro {
    background: white;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #E5E5E5;
    margin-bottom: 48px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cookies-intro p {
    font-size: 16px;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.8;
}

.cookies-intro p:last-child {
    margin-bottom: 0;
}

.cookies-intro strong {
    font-weight: 600;
    color: #243E93;
}

/* ========== SECTIONS ========== */
.cookies-section {
    background: white;
    padding: 32px;
    margin-bottom: 24px;
    border-radius: 8px;
    border: 1px solid #E5E5E5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.cookies-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #F36D21;
}

.cookies-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #243E93;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #F36D21;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookies-section-icon {
    width: 36px;
    height: 36px;
    background: #FFF8F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.cookies-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.8;
}

.cookies-list {
    margin: 16px 0 16px 24px;
    padding: 0;
}

.cookies-list li {
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.8;
}

.cookies-list li strong {
    font-weight: 600;
    color: #243E93;
}

/* ========== COOKIE TYPES GRID ========== */
.cookies-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.cookies-type-card {
    background: #FFF8F0;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #E5E5E5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cookies-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cookies-type-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #F36D21;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookies-type-text {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ========== MANAGEMENT BOX ========== */
.cookies-management-box {
    background: linear-gradient(135deg, #FFF8F0 0%, #FFFFFF 100%);
    border: 2px solid #F36D21;
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0;
}

.cookies-box-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #243E93;
    margin-bottom: 16px;
}

.cookies-management-box .cookies-list {
    margin: 0;
    padding-left: 24px;
}

.cookies-management-box .cookies-list li {
    margin-bottom: 8px;
}

/* ========== BROWSER GUIDE ========== */
.cookies-browser-guide {
    background: #FFF8F0;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.cookies-guide-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #243E93;
    margin-bottom: 12px;
}

.cookies-browser-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.cookies-browser-link {
    padding: 8px 16px;
    background: white;
    border: 1px solid #E5E5E5;
    border-radius: 20px;
    color: #243E93;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.cookies-browser-link:hover {
    background: #F36D21;
    color: white;
    border-color: #F36D21;
    transform: translateY(-2px);
}

/* ========== NOTICE BOX ========== */
.cookies-notice-box {
    background: #FEF3E2;
    border-left: 4px solid #F36D21;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.cookies-notice-box p {
    color: #B45309;
    font-weight: 600;
    margin: 0;
    font-size: 14px;
}

/* ========== CONSENT DEMO ========== */
.cookies-consent-demo {
    background: white;
    border: 2px dashed #E5E5E5;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
    position: relative;
}

.cookies-demo-label {
    position: absolute;
    top: -10px;
    left: 20px;
    background: white;
    padding: 0 8px;
    color: #F36D21;
    font-size: 12px;
    font-weight: 600;
}

.cookies-demo-text {
    margin: 0;
    font-size: 14px;
}

.cookies-demo-link {
    color: #F36D21;
    text-decoration: none;
    margin-left: 10px;
    font-weight: 600;
}

.cookies-demo-link:hover {
    text-decoration: underline;
}

/* ========== CONTACT SECTION ========== */
.cookies-contact {
    background: linear-gradient(135deg, #243E93 0%, #1a2e6e 100%);
    color: white;
    padding: 48px;
    border-radius: 8px;
    margin-top: 48px;
    text-align: center;
}

.cookies-contact-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: white;
    margin-bottom: 24px;
}

.cookies-contact-text {
    font-size: 16px;
    color: white;
    margin-bottom: 16px;
}

.cookies-contact-info {
    margin-top: 24px;
}

.cookies-contact-info p {
    color: white;
    margin-bottom: 12px;
    font-size: 16px;
}

.cookies-contact-link {
    color: #F36D21;
    text-decoration: none;
    font-weight: 600;
}

.cookies-contact-link:hover {
    text-decoration: underline;
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
    .cookies-main {
        padding: 40px 0;
    }

    .cookies-container {
        padding: 0 16px;
    }

    .cookies-title {
        font-size: 24px;
    }

    .cookies-section-title {
        font-size: 18px;
    }

    .cookies-section,
    .cookies-intro {
        padding: 24px 16px;
    }

    .cookies-contact {
        padding: 32px 24px;
    }

    .cookies-types-grid {
        grid-template-columns: 1fr;
    }

    .cookies-browser-links {
        flex-direction: column;
    }

    .cookies-browser-link {
        text-align: center;
    }

    .cookies-header {
        margin-bottom: 40px;
        padding-bottom: 20px;
    }

    .cookies-icon {
        font-size: 36px;
    }

    .cookies-section-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .cookies-box-title {
        font-size: 16px;
    }

    .cookies-type-title {
        font-size: 16px;
    }

    .cookies-list {
        margin-left: 16px;
    }
}

@media (max-width: 480px) {
    .cookies-main {
        padding: 30px 0;
    }

    .cookies-title {
        font-size: 20px;
    }

    .cookies-section-title {
        font-size: 16px;
        gap: 8px;
    }

    .cookies-section,
    .cookies-intro {
        padding: 20px 12px;
        margin-bottom: 20px;
    }

    .cookies-text,
    .cookies-list li {
        font-size: 14px;
    }

    .cookies-management-box {
        padding: 16px;
    }

    .cookies-browser-guide {
        padding: 16px;
    }

    .cookies-contact {
        padding: 24px 16px;
    }

    .cookies-contact-title {
        font-size: 20px;
    }

    .cookies-contact-info p {
        font-size: 14px;
    }

    .cookies-demo-text {
        font-size: 12px;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .cookies-main {
        background: white;
    }

    .cookies-section,
    .cookies-intro {
        box-shadow: none;
        border: 1px solid #ddd;
        margin-bottom: 20px;
    }

    .cookies-section::before {
        display: none;
    }

    .cookies-contact {
        background: #f5f5f5;
        color: #333;
    }

    .cookies-contact-title {
        color: #243E93;
    }

    .cookies-contact-info p {
        color: #333;
    }

    .cookies-icon {
        animation: none;
    }

    .cookies-type-card:hover {
        transform: none;
        box-shadow: none;
    }

    .cookies-browser-link:hover {
        background: white;
        color: #243E93;
        transform: none;
    }
}