﻿/* Banner Styles */
.cookie-consent {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 500px;
    background: #222;
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10000;
    transition: bottom 0.5s ease;
}

.cookie-consent.show {
    bottom: 20px;
}

.cookie-message p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.cookie-message a {
    color: #ffd700;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-actions button {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

#accept-all {
    background: #4CAF50;
    color: white;
}

#accept-all:hover {
    background: #45a049;
}

#cookie-settings-btn {
    background: #555;
    color: white;
}

#cookie-settings-btn:hover {
    background: #777;
}

/* Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: #fff;
    color: #000;
    padding: 25px 30px;
    border-radius: 10px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.cookie-modal-content h2 {
    margin-top: 0;
}

.cookie-option {
    margin: 12px 0;
    display: flex;
    align-items: center;
}

.cookie-option input {
    margin-right: 10px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.modal-actions button {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

#save-settings {
    background: #4CAF50;
    color: white;
}

#save-settings:hover {
    background: #45a049;
}

#close-modal {
    background: #ccc;
    color: #000;
}

#close-modal:hover {
    background: #aaa;
}
