/**
 * Stylesheet for: cache-and-cookies.php
 * Extracted from internal style tags
 */

/* ==========================================================================
   AKT Cookie Consent Banner - Exact Forest & Gold Styling
   ========================================================================== */
    .akt-cookie-banner {
        position: fixed;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%) translateY(30px);
        width: 92%;
        max-width: 900px;
        background: #07221a;
        background: linear-gradient(135deg, #092c22 0%, #061c15 100%);
        border: 1px solid rgba(82, 183, 136, 0.32);
        border-radius: 20px;
        box-shadow: 0 25px 65px rgba(0, 0, 0, 0.75), 0 0 35px rgba(18, 77, 57, 0.35);
        padding: 28px 34px 26px 30px;
        z-index: 999999;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        color: #e5ede9;
        opacity: 0;
        transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        box-sizing: border-box;
    }

    .akt-cookie-banner.akt-cookie-visible {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    /* Close "X" Button in Top-Right */
    .akt-cookie-close-btn {
        position: absolute;
        top: 18px;
        right: 18px;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.22);
        color: #a4beaf;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.22s ease;
        padding: 0;
        outline: none;
    }

    .akt-cookie-close-btn:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: #d5a36f;
        color: #ffffff;
        transform: scale(1.08);
    }

    /* Inner 2-Column Layout */
    .akt-cookie-card-inner {
        display: flex;
        align-items: center;
        gap: 32px;
    }

    /* Left: Badge with Radar Circles & Accent Dots */
    .akt-cookie-badge-wrap {
        position: relative;
        width: 140px;
        height: 140px;
        min-width: 140px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .akt-cookie-radar-ring {
        position: absolute;
        border-radius: 50%;
        border: 1px solid rgba(82, 183, 136, 0.18);
        pointer-events: none;
    }

    .ring-outer {
        width: 138px;
        height: 138px;
        border-color: rgba(82, 183, 136, 0.12);
    }

    .ring-mid {
        width: 114px;
        height: 114px;
        border-color: rgba(82, 183, 136, 0.24);
    }

    .ring-inner {
        width: 90px;
        height: 90px;
        border-color: rgba(82, 183, 136, 0.38);
        background: radial-gradient(circle, rgba(22, 79, 60, 0.45) 0%, rgba(7, 34, 26, 0) 70%);
    }

    /* Floating Accent Dots */
    .akt-dot {
        position: absolute;
        border-radius: 50%;
        background-color: #d5a36f;
        box-shadow: 0 0 8px rgba(213, 163, 111, 0.6);
    }

    .dot-1 {
        width: 5px;
        height: 5px;
        left: 2px;
        top: 36px;
    }

    .dot-2 {
        width: 6px;
        height: 6px;
        left: 4px;
        bottom: 34px;
    }

    .dot-3 {
        width: 4px;
        height: 4px;
        right: 22px;
        top: 14px;
    }

    .dot-4 {
        width: 3.5px;
        height: 3.5px;
        bottom: 18px;
        left: 56px;
    }

    .akt-cookie-icon-core {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        filter: drop-shadow(0 0 12px rgba(213, 163, 111, 0.35));
    }

    .akt-cookie-icon-core svg {
        animation: aktCookieCircleRotate 10s linear infinite;
        transform-origin: center center;
        will-change: transform;
    }

    @keyframes aktCookieCircleRotate {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    /* Subtle circular floating orbit for accent dots */
    .akt-cookie-badge-wrap .akt-dot {
        animation: aktDotOrbit 6s ease-in-out infinite alternate;
        will-change: transform, opacity;
    }

    .dot-1 {
        animation-delay: 0s;
    }

    .dot-2 {
        animation-delay: 1.5s;
    }

    .dot-3 {
        animation-delay: 3s;
    }

    .dot-4 {
        animation-delay: 4.5s;
    }

    @keyframes aktDotOrbit {
        0% {
            transform: scale(0.85) translate(0, 0);
            opacity: 0.6;
        }

        50% {
            transform: scale(1.3) translate(3px, -3px);
            opacity: 1;
        }

        100% {
            transform: scale(0.85) translate(-2px, 3px);
            opacity: 0.6;
        }
    }

    /* Right Content Column */
    .akt-cookie-main-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .akt-cookie-heading {
        margin: 0;
        font-size: 27px;
        font-weight: 800;
        color: #ffffff;
        letter-spacing: -0.4px;
        line-height: 1.2;
    }

    .akt-cookie-highlight {
        color: #d5a36f;
    }

    .akt-cookie-description {
        margin: 0;
        font-size: 13.8px;
        line-height: 1.55;
        color: #c0d3c9;
        font-weight: 400;
        max-width: 660px;
    }

    .akt-cookie-anchor {
        color: #d5a36f;
        text-decoration: underline;
        text-underline-offset: 3px;
        font-weight: 500;
        transition: color 0.2s ease;
    }

    .akt-cookie-anchor:hover {
        color: #ebd1b0;
    }

    /* Button Row */
    .akt-cookie-btn-row {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 6px;
        flex-wrap: wrap;
    }

    /* Button 1: Settings (Outlined Gold) */
    .akt-btn-settings {
        background: transparent;
        color: #ffffff;
        border: 1.5px solid #d5a36f;
        border-radius: 50px;
        padding: 10px 22px;
        font-size: 14px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        transition: all 0.22s ease;
        white-space: nowrap;
        outline: none;
    }

    .akt-btn-settings:hover {
        background: rgba(213, 163, 111, 0.15);
        border-color: #ebd1b0;
        color: #ebd1b0;
    }

    .akt-btn-icon {
        stroke: currentColor;
    }

    /* Button 2: Reject Cookies (Dark Green/Black) */
    .akt-btn-reject {
        background: #081d15;
        color: #ffffff;
        border: 1.5px solid rgba(82, 183, 136, 0.35);
        border-radius: 50px;
        padding: 10px 24px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.22s ease;
        white-space: nowrap;
        outline: none;
    }

    .akt-btn-reject:hover {
        background: #0d2c21;
        border-color: rgba(82, 183, 136, 0.6);
        transform: translateY(-1px);
    }

    /* Button 3: Accept Cookies (Warm Gold Gradient + Arrow) */
    .akt-btn-accept {
        background: #d5a36f;
        background: linear-gradient(135deg, #dfa872 0%, #b88248 100%);
        color: #171108;
        border: none;
        border-radius: 50px;
        padding: 11px 26px;
        font-size: 14px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        transition: all 0.22s ease;
        box-shadow: 0 4px 18px rgba(213, 163, 111, 0.35);
        white-space: nowrap;
        outline: none;
    }

    .akt-btn-accept:hover {
        background: linear-gradient(135deg, #e7b684 0%, #c48e53 100%);
        box-shadow: 0 6px 24px rgba(213, 163, 111, 0.55);
        transform: translateY(-1px);
    }

    .akt-arrow-icon {
        stroke: currentColor;
        transition: transform 0.2s ease;
    }

    .akt-btn-accept:hover .akt-arrow-icon {
        transform: translateX(3px);
    }

    /* ==========================================================================
   Cookie Settings Modal - Emerald & Gold Theme
   ========================================================================== */
    .akt-cookie-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 1000000;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        box-sizing: border-box;
    }

    .akt-cookie-modal.akt-modal-open {
        opacity: 1;
    }

    .akt-cookie-modal-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .akt-cookie-modal-card {
        position: relative;
        width: 90%;
        max-width: 580px;
        background: #092c22;
        background: linear-gradient(145deg, #0b3429 0%, #061e17 100%);
        border: 1px solid rgba(82, 183, 136, 0.35);
        border-radius: 18px;
        box-shadow: 0 30px 75px rgba(0, 0, 0, 0.8), 0 0 30px rgba(18, 77, 57, 0.3);
        padding: 28px 30px;
        z-index: 2;
        transform: scale(0.95);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        max-height: 90vh;
        display: flex;
        flex-direction: column;
        color: #e5ede9;
        font-family: 'Inter', -apple-system, sans-serif;
    }

    .akt-cookie-modal.akt-modal-open .akt-cookie-modal-card {
        transform: scale(1);
    }

    .akt-cookie-modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(82, 183, 136, 0.2);
    }

    .akt-cookie-modal-header h3 {
        margin: 0;
        font-size: 20px;
        font-weight: 700;
        color: #ffffff;
    }

    .akt-cookie-modal-close {
        background: transparent;
        border: none;
        font-size: 28px;
        line-height: 1;
        color: #92ad9f;
        cursor: pointer;
        padding: 0 4px;
        transition: color 0.2s ease;
    }

    .akt-cookie-modal-close:hover {
        color: #d5a36f;
    }

    .akt-cookie-modal-body {
        padding: 18px 0;
        overflow-y: auto;
        flex: 1;
    }

    .akt-cookie-modal-desc {
        font-size: 13.5px;
        line-height: 1.55;
        color: #a4beaf;
        margin: 0 0 18px 0;
    }

    .akt-cookie-option {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
        padding: 14px 0;
        border-top: 1px solid rgba(82, 183, 136, 0.15);
    }

    .akt-cookie-option-info strong {
        display: block;
        font-size: 15px;
        color: #ffffff;
        margin-bottom: 4px;
    }

    .akt-cookie-option-info p {
        font-size: 12.8px;
        line-height: 1.45;
        color: #9db5a8;
        margin: 0;
    }

    .akt-badge-locked {
        display: inline-block;
        padding: 5px 12px;
        font-size: 12px;
        font-weight: 600;
        background: rgba(82, 183, 136, 0.18);
        border: 1px solid rgba(82, 183, 136, 0.4);
        color: #6ee7b7;
        border-radius: 20px;
        white-space: nowrap;
    }

    /* Custom Toggle Switch */
    .akt-switch {
        position: relative;
        display: inline-block;
        width: 48px;
        height: 26px;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .akt-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .akt-slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(255, 255, 255, 0.18);
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 34px;
    }

    .akt-slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: #ffffff;
        transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 50%;
    }

    .akt-switch input:checked+.akt-slider {
        background-color: #d5a36f;
        border-color: #d5a36f;
    }

    .akt-switch input:checked+.akt-slider:before {
        transform: translateX(22px);
        background-color: #171108;
    }

    .akt-cookie-modal-footer {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        padding-top: 16px;
        border-top: 1px solid rgba(82, 183, 136, 0.2);
    }

    /* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
    @media screen and (max-width: 768px) {
        .akt-cookie-banner {
            bottom: 12px;
            width: 95%;
            padding: 22px 20px 20px 20px;
        }

        .akt-cookie-card-inner {
            flex-direction: column;
            align-items: flex-start;
            gap: 16px;
        }

        .akt-cookie-badge-wrap {
            width: 90px;
            height: 90px;
            min-width: 90px;
        }

        .ring-outer {
            width: 88px;
            height: 88px;
        }

        .ring-mid {
            width: 72px;
            height: 72px;
        }

        .ring-inner {
            width: 56px;
            height: 56px;
        }

        .akt-cookie-icon-core svg {
            width: 44px;
            height: 44px;
        }

        .akt-cookie-heading {
            font-size: 22px;
        }

        .akt-cookie-description {
            font-size: 13px;
        }

        .akt-cookie-btn-row {
            width: 100%;
            flex-direction: column;
            align-items: stretch;
            gap: 10px;
        }

        .akt-btn-settings,
        .akt-btn-reject,
        .akt-btn-accept {
            width: 100%;
            justify-content: center;
            text-align: center;
            padding: 11px 16px;
        }

        .akt-cookie-modal-card {
            padding: 20px;
        }
    }