/* Cookie Prompt Styles */

.cookie-prompt-container {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 20000;
    width: 100%;
    max-width: 450px;
    animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cookie-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: auto;
}

.cookie-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.cookie-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #666666;
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.cookie-card a {
    color: #1a1a1a;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cookie-btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-btn-primary {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}

.cookie-btn-primary:HOVER {
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-btn-secondary {
    background: #ffffff;
    color: #1a1a1a;
}

.cookie-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.15);
}

.cookie-btn-group {
    display: flex;
    gap: 0.75rem;
}

.cookie-btn-group .cookie-btn {
    flex: 1;
}

/* Customize Modal Styles */
.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.cookie-modal {
    background: rgba(255, 255, 255, 0.95);
    width: 100%;
    max-width: 500px;
    border-radius: 28px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-modal-header {
    padding: 1.75rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.cookie-modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.cookie-category {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.cookie-category-info h4 {
    margin: 0 0 0.25rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

.cookie-category-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.cookie-modal-footer {
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.02);
    display: flex;
    gap: 1rem;
}

/* Switch Styles */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

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

.cookie-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #eee;
    transition: .3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked+.cookie-slider {
    background-color: #1a1a1a;
}

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

input:disabled+.cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .cookie-prompt-container {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        max-width: none;
        width: calc(100% - 2rem);
    }

    .cookie-card {
        padding: 1.25rem;
        border-radius: 20px;
    }

    .cookie-card h2 {
        font-size: 1.1rem;
    }

    .cookie-card p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .cookie-actions {
        gap: 0.5rem;
    }

    .cookie-btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        border-radius: 10px;
    }

    .cookie-btn-group {
        gap: 0.5rem;
    }
}