/* Cookie Consent Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-top: 2px solid #ffd700;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

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

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

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

.cookie-text h3 {
    color: #ffd700;
    margin: 0 0 10px 0;
    font-size: 1.2em;
    font-weight: 600;
}

.cookie-text p {
    color: #e0e0e0;
    margin: 0 0 10px 0;
    line-height: 1.4;
    font-size: 0.9em;
}

.cookie-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.cookie-links a {
    color: #ffd700;
    text-decoration: none;
    font-size: 0.85em;
    transition: color 0.3s ease;
}

.cookie-links a:hover {
    color: #ffed4a;
    text-decoration: underline;
}

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

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 100px;
}

.cookie-btn-accept {
    background: #ffd700;
    color: #1a1a1a;
}

.cookie-btn-accept:hover {
    background: #ffed4a;
    transform: translateY(-2px);
}

.cookie-btn-accept-all {
    background: linear-gradient(135deg, #00C851, #00A040);
    color: #ffffff;
    font-size: 1em;
    font-weight: 700;
    padding: 12px 24px;
    box-shadow: 0 4px 15px rgba(0, 200, 81, 0.3);
    border: none;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-btn-accept-all:hover {
    background: linear-gradient(135deg, #00E65C, #00C851);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 200, 81, 0.4);
}

.cookie-btn-save {
    background: #ffd700;
    color: #1a1a1a;
}

.cookie-btn-save:hover {
    background: #ffed4a;
    transform: translateY(-2px);
}

.cookie-btn-reject {
    background: transparent;
    color: #e0e0e0;
    border: 1px solid #555;
}

.cookie-btn-reject:hover {
    background: #555;
    color: #fff;
}

.cookie-btn-settings {
    background: transparent;
    color: #ffd700;
    border: 1px solid #ffd700;
}

.cookie-btn-settings:hover {
    background: #ffd700;
    color: #1a1a1a;
}

/* Cookie Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    backdrop-filter: blur(5px);
}

.cookie-modal.show {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 2px solid #ffd700;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #444;
}

.modal-header h2 {
    color: #ffd700;
    margin: 0;
    font-size: 1.5em;
}

.close-btn {
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 2em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ffd700;
}

.modal-body {
    padding: 20px;
}

.cookie-category {
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #ffd700;
}

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

.category-header h3 {
    color: #ffd700;
    margin: 0;
    font-size: 1.1em;
}

.cookie-category p {
    color: #e0e0e0;
    margin: 0;
    font-size: 0.9em;
    line-height: 1.4;
}

/* Toggle Switch Styles */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

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

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

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

input:checked + .slider {
    background-color: #ffd700;
}

input:checked + .slider:before {
    transform: translateX(26px);
    background-color: #1a1a1a;
}

input:disabled + .slider {
    background-color: #666;
    cursor: not-allowed;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid #444;
}

/* Cookie Details Styles */
.cookie-details {
    color: #e0e0e0;
}

.cookie-details h3 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.cookie-item {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #ffd700;
}

.cookie-item h4 {
    color: #ffd700;
    margin: 0 0 10px 0;
    font-size: 1em;
}

.cookie-item p {
    margin: 5px 0;
    font-size: 0.9em;
    line-height: 1.3;
}

.cookie-item strong {
    color: #ffed4a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-text {
        min-width: auto;
        margin-bottom: 15px;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 80px;
    }
    
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        min-width: auto;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
}

/* Animation for smooth appearance */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.cookie-banner.show {
    animation: slideUp 0.5s ease-out;
}

.cookie-modal.show {
    animation: fadeIn 0.3s ease-out;
}