/* GDPR Cookie Consent Plugin Styles */

/* Cookie Banner */
.gdpr-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.gdpr-banner-content {
    margin: 0 auto;
    padding: 46px 80px 49px 89px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #000000;
}

.gdpr-banner-text {
    flex: 1;
    font-size: 16px;
    line-height: 150%;
    color: #000000;
}

.gdpr-banner-text a {
    color: #000000;
    text-decoration: underline;
}

.gdpr-banner-text a:hover {
    color: #FFE533;
}

.gdpr-banner-buttons {
    display: flex;
    align-items: center;
    position: relative;
}

.gdpr-btn {
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
}

.gdpr-btn:hover {
    background: #f5f5f5;
}

.gdpr-btn-accept {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.gdpr-btn-accept:hover {
    background: #333333;
}

.gdpr-btn-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 37px;
}

.gdpr-btn-close:hover {
    color: #333;
}

.gdpr-banner-buttons .btn + .btn {
    margin-left: 13px;
}

/* Privacy Modal */
.gdpr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    overflow-y: auto;
}

.gdpr-modal-content {
    background: #ffffff;
    max-width: 600px;
    margin: 50px auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.gdpr-modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.gdpr-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.gdpr-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gdpr-modal-close:hover {
    color: #333;
}

.gdpr-modal-body {
    padding: 30px;
}

.gdpr-modal-body p {
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.gdpr-modal-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.gdpr-modal-buttons .gdpr-btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
}

.gdpr-modal-buttons .gdpr-btn-reject-all {
    background: #ffffff;
    color: #333;
    border: 1px solid #000;
}

.gdpr-modal-buttons .gdpr-btn-accept-all {
    background: #000000;
    color: #ffffff;
    border: 1px solid #000;
}

.gdpr-modal-body hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 30px 0;
}

.gdpr-modal-body h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

/* Modal Footer */
.gdpr-modal-footer {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.gdpr-modal-footer .gdpr-btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
}

.gdpr-modal-footer .gdpr-btn-cancel {
    background: #ffffff;
    color: #333;
    border: 1px solid #000;
}

.gdpr-modal-footer .gdpr-btn-save-preferences {
    background: #000000;
    color: #ffffff;
    border: 1px solid #000;
}

/* Cookie Categories */
.gdpr-category {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.gdpr-category:last-child {
    border-bottom: none;
}

.gdpr-category-info {
    flex: 1;
    margin-right: 20px;
}

.gdpr-category-info h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.gdpr-category-info p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

.gdpr-category-status,
.gdpr-category-toggle {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.gdpr-always-active {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* Toggle Switch */
.gdpr-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.gdpr-toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.gdpr-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.gdpr-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.gdpr-toggle-input:checked + .gdpr-toggle-slider {
    background-color: #007cba;
}

.gdpr-toggle-input:checked + .gdpr-toggle-slider:before {
    transform: translateX(26px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gdpr-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .gdpr-banner-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .gdpr-modal-content {
        margin: 20px;
        max-width: none;
    }
    
    .gdpr-modal-header,
    .gdpr-modal-body {
        padding: 20px;
    }
    
    .gdpr-category {
        flex-direction: column;
        gap: 15px;
    }
    
    .gdpr-category-info {
        margin-right: 0;
    }
    
    .gdpr-modal-buttons {
        flex-direction: column;
    }
    
    .gdpr-modal-footer {
        flex-direction: column;
    }
}

/* Animation */
.gdpr-cookie-banner {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.gdpr-modal {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.gdpr-modal-content {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
} 