/* ===== COOKIE CONSENT STYLES ===== */
.cc-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cc-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Bottom Banner Styles */
.cc-banner {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: #ffffff;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 99998;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 20px;
    border-top: 3px solid var(--accent);
}

.cc-banner.active {
    transform: translateY(0);
}

.cc-banner-content {
    max-width: 1340px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 992px) {
    .cc-banner-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cc-banner-text-wrapper {
    flex-grow: 1;
    padding-right: 20px;
}

.cc-banner-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.cc-banner-text {
    font-size: 0.85rem;
    color: #475569;
    margin: 0 0 5px 0;
    line-height: 1.5;
}

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

.cc-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* Modal Styles */
.cc-modal {
    background: #ffffff;
    width: 100%;
    max-width: 600px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.cc-overlay.active .cc-modal {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .cc-modal {
        border-radius: 20px;
        margin-bottom: 30px;
        max-height: 80vh;
    }
    .cc-overlay {
        align-items: center;
    }
}

.cc-header {
    padding: 24px 24px 15px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cc-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cc-title i {
    color: #f59e0b; /* Amber */
}

.cc-close {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: #64748b;
    cursor: pointer;
    transition: color 0.3s;
}

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

.cc-body {
    padding: 15px 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cc-option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.cc-option:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.cc-option-info {
    flex-grow: 1;
}

.cc-option-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 5px 0;
}

.cc-option-desc {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* iOS Style Toggle Switch */
.cc-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
    margin-top: 2px;
}

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

.cc-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
    border-radius: 30px;
}

.cc-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cc-switch input:checked + .cc-slider {
    background-color: #22c55e; /* Green */
}

.cc-switch input:disabled + .cc-slider {
    background-color: #e2e8f0;
    cursor: not-allowed;
}

.cc-switch input:disabled:checked + .cc-slider {
    background-color: #94a3b8; /* Disabled green/grey */
}

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

.cc-footer {
    padding: 20px 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border-radius: 0 0 20px 20px;
}

@media (min-width: 480px) {
    .cc-footer {
        flex-direction: row;
        justify-content: flex-end;
    }
}

.cc-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-align: center;
    display: inline-block;
}

.cc-btn-outline {
    background: #fff;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.cc-btn-outline:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.cc-btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.cc-btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(245, 158, 11, 0.4);
}

.cc-btn-secondary {
    background: #0f172a;
    color: #fff;
}

.cc-btn-secondary:hover {
    background: #1e293b;
    transform: translateY(-2px);
}
