/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 3px solid #12D4F1;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
}

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

.cookie-banner.hide {
    transform: translateY(100%);
}

.cookie-banner-content {
    padding: 20px 0;
}

.cookie-banner-text {
    color: #687188;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

.cookie-banner-text a {
    color: #12D4F1;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-banner-text a:hover {
    color: #0ea5c7;
    text-decoration: none;
}

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

.cookie-btn {
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #12D4F1 0%, #0ea5c7 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(18, 212, 241, 0.3);
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #0ea5c7 0%, #0c94b8 100%);
    box-shadow: 0 6px 20px rgba(18, 212, 241, 0.4);
    transform: translateY(-1px);
}

.cookie-btn-decline {
    background: transparent;
    color: #687188;
    border: 1px solid #e0e6ed;
}

.cookie-btn-decline:hover {
    background: #f8f9fa;
    color: #495057;
    border-color: #dee2e6;
}

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

.cookie-btn-settings:hover {
    background: #12D4F1;
    color: #fff;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.cookie-settings-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.cookie-settings-content {
    background: #fff;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

.cookie-settings-header {
    padding: 25px 30px 0;
    border-bottom: 1px solid #e9ecef;
}

.cookie-settings-header h3 {
    color: #292b2c;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;
}

.cookie-settings-header p {
    color: #687188;
    font-size: 14px;
    margin-bottom: 20px;
}

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

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

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

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

.cookie-category h4 {
    color: #292b2c;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.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: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

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

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #12D4F1;
}

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

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: #12D4F1;
    opacity: 0.7;
    cursor: not-allowed;
}

.cookie-category-description {
    color: #687188;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 8px;
}

.cookie-settings-footer {
    padding: 20px 30px 30px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.cookie-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 24px;
    color: #687188;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cookie-close-btn:hover {
    background: #f8f9fa;
    color: #495057;
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        padding: 15px 0;
    }
    
    .cookie-banner-buttons {
        margin-top: 15px;
        justify-content: center;
    }
    
    .cookie-btn {
        padding: 10px 16px;
        font-size: 12px;
        flex: 1;
        min-width: 100px;
    }
    
    .cookie-settings-content {
        width: 95%;
        margin: 20px;
    }
    
    .cookie-settings-header,
    .cookie-settings-body,
    .cookie-settings-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .cookie-settings-footer {
        flex-direction: column;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .cookie-banner-text {
        font-size: 13px;
    }
    
    .cookie-btn {
        font-size: 11px;
        padding: 8px 12px;
    }
    
    .cookie-settings-header h3 {
        font-size: 20px;
    }
}
