/* Base banner/popup box */
.sktcoco-cookie-notice {
    position: fixed;
    width: auto;
    max-width: 420px;
    background: #1f2937;
    color: #fff;
    font-family: Arial, sans-serif;
    padding: 20px;
    z-index: 999999;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: none;
    line-height: 1.5;
}

.sktcoco-cookie-content p {
    margin: 0 0 10px;
    font-size: 14px;
}

.sktcoco-cookie-content a {
    color: #f1c40f;
    text-decoration: underline;
}

.sktcoco-cookie-buttons {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
}

.sktcoco_privacy_anchor {
    font-size: 12px;
}

.sktcoco_banner_templates_banner_bottom_right .sktcoco-cookie-notice-left,
.sktcoco_banner_templates_banner_bottom_right .sktcoco-cookie-notice-right {
    float: none;
    width: 100%;
}

.sktcoco_banner_templates_banner_bottom_left .sktcoco-cookie-notice-left,
.sktcoco_banner_templates_banner_bottom_left .sktcoco-cookie-notice-right {
    float: none;
    width: 100%;
}

.sktcoco_banner_templates_banner_top_left .sktcoco-cookie-notice-left,
.sktcoco_banner_templates_banner_top_left .sktcoco-cookie-notice-right {
    float: none;
    width: 100%;
}

.sktcoco_banner_templates_banner_top_right .sktcoco-cookie-notice-left,
.sktcoco_banner_templates_banner_top_right .sktcoco-cookie-notice-right {
    float: none;
    width: 100%;
}

.sktcoco-branding {
    padding: 17px 0 0 0;
    float: right;
    text-align: right;
}

.sktcoco-branding img {
    width: 75%;
}

#sktcoco_frontendmain img {
    max-height: 40px;
    margin-bottom: 10px;
}

#sktcoco_frontendmain h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
}

#sktcoco_frontendmain p {
    line-height: 24px;
}

.sktcoco-cookie-notice-left {
    float: left;
    width: 78%;
}

.sktcoco-cookie-notice-right {
    float: right;
    width: 20%;
}

.sktcoco-cookie-notice-right button {
    display: block;
    width: 100%;
}

.sktcoco-cookie-notice-right button:hover {
    opacity: 0.8;
}

.sktcoco_banner_templates_banner_top {
    position: fixed !important;
    top: 25px !important;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    max-width: none;
    z-index: 999999;
}

.sktcoco_banner_templates_banner_bottom {
    position: fixed !important;
    bottom: 25px !important;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    max-width: none;
    z-index: 999999;
}

.sktcoco_banner_templates_banner_center {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-width: none;
    z-index: 1000000 !important;
}

.sktcoco_banner_templates_banner_bottom_right {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    top: auto !important;
    z-index: 999999;
    max-width: 360px;
}

.sktcoco_banner_templates_banner_bottom_left {
    position: fixed !important;
    bottom: 80px !important;
    left: 20px !important;
    right: auto !important;
    top: auto !important;
    z-index: 999999;
    max-width: 360px;
}

.sktcoco_banner_templates_banner_top_left {
    position: fixed !important;
    top: 20px !important;
    left: 20px !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 999999;
    max-width: 360px;
}

.sktcoco_banner_templates_banner_top_right {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 999999;
    max-width: 360px;
}

/* Overlay (for Popup with overlay) */
.sktcoco_overlay_popup_overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    background: rgba(236, 236, 236, 1) !important;
    z-index: 999998 !important;
}

.sktcoco-btn {
    padding: 8px 16px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
}

.sktcoco-btn-decline {
    background: #dc2626;
    color: #fff;
}

.sktcoco-btn-settings {
    background: #374151;
    color: #fff;
}

.sktcoco-btn-accept {
    background: #16a34a;
    color: #fff;
}

.sktcoco-powered {
    margin-top: 10px;
    font-size: 11px;
    color: #bdc3c7;
    text-align: center;
}

/* Settings panel */
#sktcoco-cookie-settings-panel {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 820px;
    background: #fff;
    color: #1d2327;
    padding: 28px;
    border-radius: 10px;
    z-index: 1000001;
    overflow-y: auto;
    max-height: 85vh;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    font-family: Arial, sans-serif;
}

#sktcoco-cookie-settings-panel h3 {
    margin: 0 0 14px;
    font-size: 20px;
}

.sktcoco-category {
    margin-bottom: 18px;
    padding: 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.sktcoco-category>label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
}

.sktcoco-category-desc {
    margin: 6px 0 10px;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
}

.sktcoco-cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: 12px;
    background: #fff;
}

.sktcoco-cookie-table th,
.sktcoco-cookie-table td {
    border: 1px solid #e5e7eb;
    padding: 6px 8px;
    text-align: left;
    vertical-align: top;
}

.sktcoco-cookie-table th {
    background: #f1f5f9;
    font-weight: 600;
}

#sktcoco-close-settings,
#sktcoco-save-settings {
    margin-top: 14px;
    margin-right: 8px;
    padding: 8px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

#sktcoco-close-settings {
    background: #e5e7eb;
    color: #1f2937;
}

#sktcoco-save-settings {
    background: #2563eb;
    color: #fff;
}

#sktcoco-save-settings:hover {
    background: #1d4ed8;
}

/* Floating "Cookie Settings" launcher */
.sktcoco_popup_showinbottom {
    display: block !important;
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: url(../images/skt-cookie-logo.png) center center no-repeat;
    width: 50px;
    height: 50px;
    color: #fff;
    font-size: 0px;
    cursor: pointer;
    z-index: 999990;
}

/* When visitor has given consent and recaptcha is not allowed */
body.gdpr-no-consent .g-recaptcha,
body.gdpr-no-consent .grecaptcha-badge,
body.gdpr-no-consent iframe[src*="recaptcha"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Instagram placeholder (when Instagram embed is blocked) */
.instagram-blocker {
    background: #f4f4f4;
    background-size: 48px;
    padding-top: 80px;
    text-align: center;
    min-height: 180px;
}

/* Legacy positioning helpers (kept for backwards compatibility with inline usage) */
.sktcoco-top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.sktcoco-bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.sktcoco-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#sktcoco-settings {
    padding: 8px 16px;
}

#sktcoco-accept-single,
#sktcoco-settings,
#sktcoco-accept,
#sktcoco-settings-decline {
    font-weight: 400;
    margin: 5px 0 0 0;
}

@media (max-width: 767px) {

    .sktcoco_banner_templates_banner_bottom_right .sktcoco-cookie-notice-left,
    .sktcoco_banner_templates_banner_bottom_right .sktcoco-cookie-notice-right {
        float: none;
        width: 100%;
    }

    .sktcoco_banner_templates_banner_bottom_left .sktcoco-cookie-notice-left,
    .sktcoco_banner_templates_banner_bottom_left .sktcoco-cookie-notice-right {
        float: none;
        width: 100%;
    }

    .sktcoco_banner_templates_banner_top_left .sktcoco-cookie-notice-left,
    .sktcoco_banner_templates_banner_top_left .sktcoco-cookie-notice-right {
        float: none;
        width: 100%;
    }

    .sktcoco_banner_templates_banner_top_right .sktcoco-cookie-notice-left,
    .sktcoco_banner_templates_banner_top_right .sktcoco-cookie-notice-right {
        float: none;
        width: 100%;
    }

    .sktcoco_banner_templates_banner_top .sktcoco-cookie-notice-left,
    .sktcoco_banner_templates_banner_top .sktcoco-cookie-notice-right {
        float: none;
        width: 100%;
    }

    .sktcoco_banner_templates_banner_bottom .sktcoco-cookie-notice-left,
    .sktcoco_banner_templates_banner_bottom .sktcoco-cookie-notice-right {
        float: none;
        width: 100%;
    }

    .sktcoco_banner_templates_banner_center .sktcoco-cookie-notice-left,
    .sktcoco_banner_templates_banner_center .sktcoco-cookie-notice-right {
        float: none;
        width: 100%;
    }

    .sktcoco_banner_templates_banner_center {
        width: 90%;
    }

    .sktcoco_overlay_popup_overlay {
        background: rgba(240, 240, 240, 1) !important;
        width: 90%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    .sktcoco_banner_templates_banner_top,
    .sktcoco_banner_templates_banner_bottom,
    .sktcoco_banner_templates_banner_top_right,
    .sktcoco_banner_templates_banner_top_left,
    .sktcoco_banner_templates_banner_bottom_left,
    .sktcoco_banner_templates_banner_bottom_right,
    .sktcoco_banner_templates_banner_center {
        width: 85%;
    }

    .sktcoco_overlay_popup_overlay {
        background: rgba(240, 240, 240, 1) !important;
        width: 90%;
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {

    .sktcoco_banner_templates_banner_top,
    .sktcoco_banner_templates_banner_bottom,
    .sktcoco_banner_templates_banner_top_right,
    .sktcoco_banner_templates_banner_top_left,
    .sktcoco_banner_templates_banner_bottom_left,
    .sktcoco_banner_templates_banner_bottom_right,
    .sktcoco_banner_templates_banner_center {
        width: 90%;
    }

    .sktcoco_overlay_popup_overlay {
        width: 90%;
    }
}