/* Cookie Consent Styles - Dark Minimal Theme */
.cookie-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    pointer-events: none;
}

.cookie-notification {
    display: none !important;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(28, 28, 30, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-notification.show {
    display: flex !important;
    transform: translateY(0);
}

.cookie-notification .cookie-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
}

.cookie-notification p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 900px;
}

.cookie-notification a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.cookie-notification a:hover {
    opacity: 0.7;
}

.cookie-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-group .btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-group .btn-primary {
    background: #ffffff;
    color: #1c1c1e;
}

.cookie-group .btn-primary:hover {
    background: #e5e5e7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.cookie-group .btn-outline-primary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-group .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Cookie Modal */
.cookie-modal {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: all 0.3s ease;
}

.cookie-modal.show {
    display: flex !important;
    pointer-events: auto;
}

.modal-dialog {
    max-width: 600px;
    width: 90%;
    margin: 2rem auto;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-modal.show .modal-dialog {
    transform: scale(1);
}

.modal-content {
    background: #1c1c1e;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header .modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}

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

.modal-body>p {
    margin: 0 0 1.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.cookie-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.cookie-block:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.cookie-block p {
    margin: 0;
    font-weight: 500;
    color: #ffffff;
    font-size: 0.95rem;
}

.cookie-block input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #ffffff;
}

.cookie-block input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.modal-footer {
    padding: 1rem 2rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
}

.modal-footer .btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    background: #ffffff;
    color: #1c1c1e;
    transition: all 0.3s ease;
}

.modal-footer .btn:hover {
    background: #e5e5e7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Cookie Settings Icon in Footer */
.cookie-settings-icon {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(28, 28, 30, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-settings-icon:hover {
    background: rgba(40, 40, 42, 0.95);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.cookie-settings-icon svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
    transition: transform 0.3s ease;
}

.cookie-settings-icon:hover svg {
    transform: rotate(20deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-notification {
        padding: 1.5rem;
        gap: 1rem;
    }

    .cookie-notification .cookie-title {
        font-size: 1.1rem;
    }

    .cookie-notification p {
        font-size: 0.9rem;
    }

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

    .cookie-group .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }

    .modal-dialog {
        width: 95%;
        margin: 1rem auto;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1.5rem;
    }

    .modal-header .modal-title {
        font-size: 1.25rem;
    }

    .cookie-block {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .cookie-block input[type="checkbox"] {
        align-self: flex-end;
    }

    .cookie-settings-icon {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }

    .cookie-settings-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* Scrollbar styling for modal */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}