/* ==================== COOKIE CONSENT BANNER ==================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #3c2415 0%, #2d1f11 50%, #1a0f07 100%);
    border-top: 3px solid #4a3321;
    padding: 20px;
    z-index: 10002;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

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

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

.cookie-icon {
    font-size: 40px;
    flex-shrink: 0;
}

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

.cookie-text h3 {
    margin: 0 0 8px 0;
    color: #ffd700;
    font-size: 18px;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

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

.cookie-btn {
    padding: 10px 20px;
    border: 2px solid #4a3321;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-accept {
    background: linear-gradient(180deg, #228b22 0%, #1a6b1a 100%);
    color: white;
    border-color: #2d8b2d;
}

.cookie-accept:hover {
    background: linear-gradient(180deg, #2da52d 0%, #228b22 100%);
    box-shadow: 0 0 10px rgba(34, 139, 34, 0.5);
}

.cookie-settings {
    background: linear-gradient(180deg, #5c4033 0%, #3c2415 100%);
    color: #c9aa71;
}

.cookie-settings:hover {
    background: linear-gradient(180deg, #6d4c3d 0%, #5c4033 100%);
}

.cookie-decline {
    background: transparent;
    color: #c9aa71;
    border-color: #4a3321;
}

.cookie-decline:hover {
    background: rgba(74, 51, 33, 0.3);
}

/* ==================== COOKIE SETTINGS MODAL ==================== */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10003;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.cookie-modal-content {
    background: linear-gradient(180deg, #3c2415 0%, #2d1f11 50%, #1a0f07 100%);
    border: 3px solid #4a3321;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.cookie-modal-header h2 {
    margin: 0;
    color: #ffd700;
    font-size: 20px;
}

.cookie-close {
    background: none;
    border: none;
    color: #c9aa71;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

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

.cookie-modal-body {
    padding: 20px;
    color: #c9aa71;
}

.cookie-modal-body > p {
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

.cookie-option {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid #4a3321;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.cookie-option-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.cookie-option-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-option-info strong {
    color: #ffd700;
}

.cookie-required {
    font-size: 12px;
    color: #888;
    font-style: italic;
}

.cookie-description {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.8;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

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

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

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

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

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

.cookie-toggle input:disabled + .cookie-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 20px;
    border-top: 2px solid #4a3321;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        min-width: auto;
    }
    
    .cookie-buttons {
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 100px;
    }
    
    .cookie-modal-footer {
        justify-content: center;
    }
}
