/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(51, 51, 51, 0.95);
    color: #fff;
    padding: 20px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
}

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

.cookie-text {
    margin-right: 20px;
}

.cookie-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    color: #ddd;
}

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

.cookie-btn {
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-btn.primary {
    background-color: #ff9900;
    color: #fff;
}

.cookie-btn.primary:hover {
    background-color: #ff7043;
}

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

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

.cookie-btn.tertiary {
    background-color: transparent;
    color: #ddd;
}

.cookie-btn.tertiary:hover {
    color: #fff;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    display: none;
}

.cookie-modal-content {
    width: 90%;
    max-width: 500px;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.cookie-modal-header h3 {
    font-size: 18px;
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #777;
}

.cookie-modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.cookie-option {
    margin-bottom: 25px;
}

.cookie-option:last-child {
    margin-bottom: 0;
}

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

.cookie-option-header h4 {
    font-size: 16px;
    margin: 0;
}

.cookie-option p {
    font-size: 14px;
    color: #777;
    margin: 0;
}

.cookie-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

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

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

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

input:focus + .slider {
    box-shadow: 0 0 1px #ff9900;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .cookie-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}
