/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1f1f1f;
    color: #fff;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 250px;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-banner-text a {
    color: #3675ff;
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: #5c8fff;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-banner-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cookie-banner-btn-accept {
    background: #f20505;
    color: #fff;
}

.cookie-banner-btn-accept:hover {
    background: #d10404;
    transform: translateY(-1px);
}

.cookie-banner-btn-decline {
    background: transparent;
    color: #fff;
    border: 1px solid #5c5c5c;
}

.cookie-banner-btn-decline:hover {
    background: #2f2f2f;
    border-color: #7c7c7c;
}

.cookie-banner-btn-settings {
    background: transparent;
    color: #fff;
    border: 1px solid #5c5c5c;
}

.cookie-banner-btn-settings:hover {
    background: #2f2f2f;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    overflow-y: auto;
    padding: 20px;
}

.cookie-settings-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-settings-content {
    background: #fff;
    max-width: 600px;
    width: 100%;
    border-radius: 8px;
    padding: 30px;
    margin: auto;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-settings-header {
    margin-bottom: 20px;
}

.cookie-settings-header h2 {
    margin: 0 0 10px 0;
    color: #1f1f1f;
    font-size: 24px;
}

.cookie-settings-header p {
    color: #5c5c5c;
    font-size: 14px;
    margin: 0;
}

.cookie-settings-group {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-settings-group:last-child {
    border-bottom: none;
}

.cookie-settings-group h3 {
    margin: 0 0 10px 0;
    color: #1f1f1f;
    font-size: 18px;
}

.cookie-settings-group p {
    color: #5c5c5c;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 6px;
}

.cookie-toggle-label {
    flex: 1;
    font-size: 14px;
    color: #1f1f1f;
}

.cookie-toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
    background: #ccc;
    border-radius: 13px;
    cursor: pointer;
    transition: background 0.3s;
}

.cookie-toggle-switch.active {
    background: #f20505;
}

.cookie-toggle-switch::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

.cookie-toggle-switch.active::after {
    transform: translateX(24px);
}

.cookie-settings-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.cookie-settings-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-settings-btn-save {
    background: #f20505;
    color: #fff;
}

.cookie-settings-btn-save:hover {
    background: #d10404;
}

.cookie-settings-btn-cancel {
    background: #f5f5f5;
    color: #1f1f1f;
}

.cookie-settings-btn-cancel:hover {
    background: #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-banner-buttons {
        width: 100%;
    }
    
    .cookie-banner-btn {
        flex: 1;
    }
    
    .cookie-settings-content {
        padding: 20px;
    }
}
