/* Cookie Consent Banner Styles */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

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

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

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.cookie-consent-text p {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #e0e0e0;
}

.cookie-consent-link {
    color: #f5a623;
    text-decoration: underline;
    font-size: 14px;
}

.cookie-consent-link:hover {
    color: #ffb84d;
}

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

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

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

.cookie-btn-primary:hover {
    background: #ffb84d;
    transform: translateY(-1px);
}

.cookie-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-btn-link {
    background: transparent;
    color: #e0e0e0;
    text-decoration: underline;
    padding: 12px 16px;
}

.cookie-btn-link:hover {
    color: #ffffff;
}

/* Cookie Settings Modal */

#cookie-consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cookie-consent-modal-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-modal-content h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #1a1a1a;
}

.cookie-consent-modal-content > p {
    margin: 0 0 30px 0;
    color: #666666;
    font-size: 14px;
}

.cookie-setting-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-setting-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cookie-setting-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cookie-setting-header h3 {
    margin: 0;
    font-size: 18px;
    color: #1a1a1a;
}

.cookie-setting-badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.cookie-setting-item p {
    margin: 0 0 10px 0;
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-setting-item ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
    color: #666666;
    font-size: 14px;
}

.cookie-setting-item li {
    margin-bottom: 5px;
}

/* Toggle Switch */

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

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

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

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

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #f5a623;
}

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

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

.cookie-consent-modal-buttons .cookie-btn-primary {
    background: #f5a623;
    color: #1a1a1a;
}

.cookie-consent-modal-buttons .cookie-btn-secondary {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

/* Responsive Design */

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-consent-modal-content {
        padding: 20px;
    }
    
    .cookie-setting-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

