/* Cookie Popup Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1b1b1b 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    font-family: 'Arimo', sans-serif;
}

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

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

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

.cookie-consent-message h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

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

.cookie-consent-message a {
    color: #188ace;
    text-decoration: none;
    border-bottom: 1px dashed #188ace;
    transition: all 0.3s ease;
}

.cookie-consent-message a:hover {
    color: #0078bf;
    border-bottom-color: #0078bf;
}

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

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    outline: none;
}

.cookie-btn-accept {
    background: linear-gradient(to bottom, #FFDD00 0%, #ffb100 100%);
    color: #333333;
    box-shadow: 0 3px 10px rgba(255, 177, 0, 0.3);
}

.cookie-btn-accept:hover {
    background: linear-gradient(to bottom, #e6c700 0%, #e69f00 100%);
    box-shadow: 0 5px 15px rgba(255, 177, 0, 0.5);
    transform: translateY(-2px);
}

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

.cookie-btn-settings:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #188ace;
    color: #188ace;
}

.cookie-btn-decline {
    background: transparent;
    color: #cccccc;
    border: 2px solid #666666;
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #999999;
    color: #ffffff;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.cookie-settings-content {
    background: #ffffff;
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-settings-header {
    background: linear-gradient(to right, #00542f 0%, #097509 100%);
    color: #ffffff;
    padding: 20px 30px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-settings-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.cookie-settings-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cookie-settings-close:hover {
    transform: rotate(90deg);
    opacity: 0.8;
}

.cookie-settings-body {
    padding: 30px;
}

.cookie-category {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-category:last-child {
    border-bottom: none;
}

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

.cookie-category-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #444444;
}

.cookie-category p {
    margin: 0;
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

.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: #cccccc;
    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: linear-gradient(to right, #188ace, #0078bf);
}

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

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: #00542f;
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-settings-footer {
    padding: 20px 30px;
    background: #f5f5f5;
    border-radius: 0 0 10px 10px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 12px 0;
    }

    .cookie-consent-container {
        flex-direction: column;
        align-items: stretch;
        padding: 0 12px;
        gap: 12px;
    }

    .cookie-consent-message h4 {
        font-size: 15px;
        margin: 0 0 6px 0;
    }

    .cookie-consent-message p {
        font-size: 12px;
        line-height: 1.4;
    }

    .cookie-consent-buttons {
        justify-content: center;
        gap: 8px;
    }

    .cookie-btn {
        flex: 1;
        min-width: 110px;
        padding: 9px 20px;
        font-size: 13px;
    }

    .cookie-settings-content {
        margin: 15px;
    }

    .cookie-settings-header,
    .cookie-settings-body,
    .cookie-settings-footer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .cookie-consent-banner {
        padding: 10px 0;
    }

    .cookie-consent-container {
        padding: 0 10px;
        gap: 10px;
    }

    .cookie-consent-message h4 {
        font-size: 14px;
        margin: 0 0 5px 0;
    }

    .cookie-consent-message p {
        font-size: 11px;
    }

    .cookie-consent-buttons {
        flex-direction: column;
        gap: 6px;
    }

    .cookie-btn {
        width: 100%;
        padding: 8px 16px;
        font-size: 12px;
    }
}
