/* Cookie Consent Banner */
.cc-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.cc-banner.cc-visible {
    display: flex;
}

.cc-banner-inner {
    background: #fff;
    max-width: 560px;
    width: 90%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    padding: 36px;
    font-family: 'Montserrat', sans-serif;
    border-top: 4px solid #8b2e4a;
}

.cc-banner-title {
    font-size: 20px;
    font-weight: 700;
    color: #8b2e4a;
    margin: 0 0 16px;
}

.cc-banner-text {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 12px;
}

.cc-banner-text a {
    color: #8b2e4a;
    font-weight: 600;
    text-decoration: underline;
}

.cc-banner-google {
    font-size: 12px;
    color: #777;
    line-height: 1.6;
    margin: 0 0 8px;
}

.cc-banner-learn {
    font-size: 12px;
    color: #777;
    margin: 0 0 24px;
}

.cc-banner-learn a {
    color: #8b2e4a;
    font-weight: 700;
    text-decoration: underline;
}

.cc-banner-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cc-btn-accept {
    background: transparent;
    color: #8b2e4a;
    border: 2px solid #D4AF37;
    padding: 13px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
}

.cc-btn-accept:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: #8b2e4a;
}

.cc-btn-settings {
    background: transparent;
    color: #8b2e4a;
    border: 2px solid #D4AF37;
    padding: 13px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
}

.cc-btn-settings:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: #8b2e4a;
}

.cc-banner-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(139, 46, 74, 0.15);
}

.cc-banner-footer a {
    font-size: 12px;
    color: #8b2e4a;
    text-decoration: underline;
    font-weight: 600;
}

.cc-banner-powered {
    font-size: 11px;
    color: #999;
}

.cc-banner-powered strong {
    color: #8b2e4a;
}

/* Cookie Settings Modal */
.cc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
}

.cc-modal-overlay.cc-visible {
    display: flex;
}

.cc-modal {
    background: #fff;
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    font-family: 'Montserrat', sans-serif;
    border-top: 4px solid #8b2e4a;
}

.cc-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px 16px;
    border-bottom: 1px solid rgba(139, 46, 74, 0.1);
}

.cc-modal-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #8b2e4a;
    margin: 0;
}

.cc-modal-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cc-modal-logo img {
    height: 28px;
    width: auto;
}

.cc-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.cc-modal-close:hover {
    color: #8b2e4a;
}

.cc-modal-body {
    padding: 24px 28px;
}

.cc-modal-intro-title {
    font-size: 15px;
    font-weight: 700;
    color: #8b2e4a;
    margin: 0 0 8px;
}

.cc-modal-intro-text {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 24px;
}

.cc-modal-intro-text a {
    color: #8b2e4a;
    font-weight: 600;
    text-decoration: underline;
}

/* Cookie Categories */
.cc-category {
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}

.cc-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    cursor: pointer;
    background: #fafafa;
    transition: background 0.2s;
}

.cc-category-header:hover {
    background: #f5f0f2;
}

.cc-category-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cc-category-arrow {
    font-size: 10px;
    color: #8b2e4a;
    transition: transform 0.3s;
}

.cc-category.cc-expanded .cc-category-arrow {
    transform: rotate(180deg);
}

.cc-category-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

.cc-category-always {
    font-size: 12px;
    color: #999;
    font-weight: 400;
    margin-left: 8px;
}

.cc-category-desc {
    display: none;
    padding: 12px 18px 16px;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.cc-category.cc-expanded .cc-category-desc {
    display: block;
}

/* Toggle Switch */
.cc-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cc-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cc-toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.3s;
}

.cc-toggle-slider:before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.cc-toggle input:checked + .cc-toggle-slider {
    background: #8b2e4a;
}

.cc-toggle input:checked + .cc-toggle-slider:before {
    transform: translateX(20px);
}

.cc-toggle input:disabled + .cc-toggle-slider {
    background: #8b2e4a;
    opacity: 0.6;
    cursor: not-allowed;
}

.cc-toggle input:disabled:checked + .cc-toggle-slider {
    opacity: 1;
}

/* Modal Footer */
.cc-modal-info {
    padding: 16px 28px;
    background: #faf8f5;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.cc-modal-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.cc-modal-info p {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.cc-modal-info a {
    color: #8b2e4a;
    font-weight: 700;
    text-decoration: none;
}

.cc-modal-actions {
    display: flex;
    gap: 10px;
    padding: 20px 28px;
    border-top: 1px solid rgba(139, 46, 74, 0.1);
}

.cc-btn-accept-all {
    background: #fff;
    color: #8b2e4a;
    border: 1px solid #D4AF37;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
}

.cc-btn-accept-all:hover {
    background: rgba(139, 46, 74, 0.05);
    border-color: #8b2e4a;
}

.cc-btn-reject-all {
    background: #fff;
    color: #8b2e4a;
    border: 1px solid #D4AF37;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
}

.cc-btn-reject-all:hover {
    background: rgba(139, 46, 74, 0.05);
    border-color: #8b2e4a;
}

.cc-btn-save {
    background: #fff;
    color: #1a1a2e;
    border: 1px solid #D4AF37;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    margin-left: auto;
    transition: all 0.3s;
}

.cc-btn-save:hover {
    border-color: #8b2e4a;
    color: #8b2e4a;
}

/* Mobile */
@media (max-width: 600px) {
    .cc-banner-inner {
        width: 95%;
        padding: 24px;
        border-radius: 12px;
    }

    .cc-modal {
        width: 95%;
        border-radius: 12px;
    }

    .cc-modal-actions {
        flex-wrap: wrap;
    }

    .cc-btn-save {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
}
