/* Cookie Consent Overlay */
.cc-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    justify-content: center;
    align-items: flex-end;
}

.cc-overlay.active {
    display: flex;
}

/* Cookie Consent Container */
.cc-container {
    background: #fff;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-wrap: wrap;
}

.cc-content {
    flex: 1 1 65%;
    padding: 30px 40px;
    min-width: 300px;
}

.cc-actions {
    flex: 0 0 280px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

/* Close button */
.cc-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 5px;
}

.cc-close:hover {
    color: #000;
}

/* Title */
.cc-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #222;
}

.cc-divider {
    border: none;
    border-top: 2px solid #8ec760;
    margin: 0 0 20px 0;
}

/* Text */
.cc-text {
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 10px;
}

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

.cc-text a:hover {
    color: #8ec760;
}

/* Cookie Categories */
.cc-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 40px;
    margin: 20px 0 15px 0;
}

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

.cc-category input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #8ec760;
    cursor: pointer;
}

.cc-category input[type="checkbox"]:disabled {
    opacity: 0.7;
    cursor: default;
}

.cc-category label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}

/* Footer links */
.cc-footer-links {
    display: flex;
    gap: 30px;
    padding: 10px 40px 15px;
    width: 100%;
    border-top: 1px solid #eee;
}

.cc-footer-links a {
    font-size: 12px;
    color: #666;
    text-decoration: none;
}

.cc-footer-links a:hover {
    color: #8ec760;
    text-decoration: underline;
}

/* Action Buttons */
.cc-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: opacity 0.2s;
}

.cc-btn:hover {
    opacity: 0.85;
}

.cc-btn-save {
    background: #222;
    color: #fff;
}

.cc-btn-accept-all {
    background: #8ec760;
    color: #fff;
}

.cc-btn-essential {
    background: #222;
    color: #fff;
}

.cc-btn-settings {
    background: #555;
    color: #fff;
}

/* Cookie Details Panel */
.cc-details-panel {
    display: none;
    width: 100%;
    padding: 20px 40px;
    border-top: 1px solid #eee;
}

.cc-details-panel.active {
    display: block;
}

.cc-detail-group {
    margin-bottom: 20px;
}

.cc-detail-group h4 {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
}

.cc-detail-group p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .cc-container {
        flex-direction: column;
    }

    .cc-content {
        padding: 20px;
    }

    .cc-actions {
        flex: 1 1 100%;
        padding: 15px 20px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .cc-btn {
        flex: 1 1 45%;
        min-width: 140px;
        padding: 10px 15px;
        font-size: 13px;
    }

    .cc-categories {
        gap: 10px 20px;
    }

    .cc-footer-links {
        padding: 10px 20px;
        gap: 15px;
        flex-wrap: wrap;
    }

    .cc-details-panel {
        padding: 15px 20px;
    }
}
