/* Cookie Banner */
    .cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #1a1d23;
        border-top: 2px solid #0d6efd;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
        z-index: 9999;
        animation: slideUp 0.4s ease;
    }

    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }

    .cookie-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem;
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .cookie-icon {
        flex-shrink: 0;
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #0d6efd, #0a58ca);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: white;
    }

    .cookie-text {
        flex: 1;
    }

    .cookie-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 0.5rem;
    }

    .cookie-description {
        color: #c0c5d0;
        margin: 0;
        line-height: 1.6;
    }

    .cookie-link {
        color: #0d6efd;
        text-decoration: none;
        font-weight: 600;
    }

    .cookie-link:hover {
        text-decoration: underline;
    }

    .cookie-actions {
        display: flex;
        gap: 0.75rem;
        flex-shrink: 0;
    }

    .btn-cookie-settings,
    .btn-cookie-reject,
    .btn-cookie-accept {
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
        white-space: nowrap;
    }

    .btn-cookie-settings {
        background: transparent;
        border: 2px solid #2d3238;
        color: #8b92a7;
    }

    .btn-cookie-settings:hover {
        background: #252a31;
        border-color: #0d6efd;
        color: #0d6efd;
    }

    .btn-cookie-reject {
        background: #252a31;
        color: #ffffff;
    }

    .btn-cookie-reject:hover {
        background: #2d3238;
    }

    .btn-cookie-accept {
        background: linear-gradient(135deg, #0d6efd, #0a58ca);
        color: white;
        box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
    }

    .btn-cookie-accept:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(13, 110, 253, 0.6);
    }

    /* Cookie Modal */
    .cookie-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.8);
        z-index: 10000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    .cookie-modal-content {
        background: #1a1d23;
        border: 1px solid #2d3238;
        border-radius: 16px;
        max-width: 700px;
        width: 100%;
        max-height: 90vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            transform: translateY(-50px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .cookie-modal-header {
        padding: 1.5rem 2rem;
        border-bottom: 1px solid #2d3238;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .cookie-modal-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: #ffffff;
        margin: 0;
        display: flex;
        align-items: center;
    }

    .cookie-modal-close {
        width: 36px;
        height: 36px;
        background: transparent;
        border: 1px solid #2d3238;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #8b92a7;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .cookie-modal-close:hover {
        background: #252a31;
        color: #0d6efd;
        transform: rotate(90deg);
    }

    .cookie-modal-body {
        padding: 2rem;
        overflow-y: auto;
        flex: 1;
    }

    .cookie-modal-description {
        color: #c0c5d0;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    .cookie-category {
        background: #0f1115;
        border: 1px solid #2d3238;
        border-radius: 12px;
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .cookie-category-header {
        margin-bottom: 1rem;
    }

    .cookie-category-info {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .cookie-toggle {
        position: relative;
        flex-shrink: 0;
    }

    .cookie-toggle input[type="checkbox"] {
        display: none;
    }

    .cookie-toggle label {
        display: block;
        width: 50px;
        height: 28px;
        background: #2d3238;
        border-radius: 14px;
        cursor: pointer;
        position: relative;
        transition: all 0.3s ease;
    }

    .cookie-toggle label::after {
        content: '';
        position: absolute;
        width: 22px;
        height: 22px;
        background: white;
        border-radius: 50%;
        top: 3px;
        left: 3px;
        transition: all 0.3s ease;
    }

    .cookie-toggle input:checked + label {
        background: #0d6efd;
    }

    .cookie-toggle input:checked + label::after {
        left: 25px;
    }

    .cookie-toggle label.toggle-disabled {
        background: #0d6efd;
        cursor: not-allowed;
        opacity: 0.6;
    }

    .cookie-toggle label.toggle-disabled::after {
        left: 25px;
    }

    .cookie-category-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #ffffff;
        margin: 0;
    }

    .cookie-category-badge {
        display: inline-block;
        background: rgba(13, 110, 253, 0.2);
        color: #0d6efd;
        padding: 0.25rem 0.75rem;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 600;
        margin-top: 0.25rem;
    }

    .cookie-category-description {
        color: #8b92a7;
        font-size: 0.9rem;
        line-height: 1.6;
        margin: 0;
    }

    .cookie-modal-footer {
        padding: 1.5rem 2rem;
        border-top: 1px solid #2d3238;
        display: flex;
        gap: 1rem;
        justify-content: flex-end;
    }

    .btn-cookie-save,
    .btn-cookie-accept-all {
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
    }

    .btn-cookie-save {
        background: #252a31;
        color: #ffffff;
    }

    .btn-cookie-save:hover {
        background: #2d3238;
    }

    .btn-cookie-accept-all {
        background: linear-gradient(135deg, #0d6efd, #0a58ca);
        color: white;
        box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
    }

    .btn-cookie-accept-all:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(13, 110, 253, 0.6);
    }

    /* Responsive */
    @media (max-width: 991.98px) {
        .cookie-content {
            flex-direction: column;
            text-align: center;
            padding: 1.5rem;
        }

        .cookie-actions {
            flex-direction: column;
            width: 100%;
        }

        .cookie-actions button {
            width: 100%;
        }
    }

    @media (max-width: 575.98px) {
        .cookie-modal-content {
            margin: 0.5rem;
        }

        .cookie-modal-header,
        .cookie-modal-body,
        .cookie-modal-footer {
            padding: 1rem;
        }

        .cookie-modal-footer {
            flex-direction: column;
        }

        .cookie-modal-footer button {
            width: 100%;
        }
    }