/* Cookie Consent Popup Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: none;
    animation: slideUp 0.3s ease-out;
}

.cookie-consent-banner.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-consent-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #cccccc;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-consent-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cookie-consent-btn-accept {
    background: #4CAF50;
    color: white;
}

.cookie-consent-btn-accept:hover {
    background: #45a049;
}

.cookie-consent-btn-decline {
    background: #f44336;
    color: white;
}

.cookie-consent-btn-decline:hover {
    background: #da190b;
}

.cookie-consent-btn-settings {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-consent-btn-settings:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-consent-link {
    color: #4CAF50;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 10px;
}

.cookie-consent-link:hover {
    color: #45a049;
}

/* Privacy Modal */
.privacy-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.privacy-modal.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.privacy-modal-content {
    background-color: #1a1a1a;
    margin: 3% auto;
    padding: 30px;
    border: 1px solid #333;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    color: #ffffff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.privacy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
}

.privacy-modal-header h2 {
    margin: 0;
    font-size: 24px;
    color: #4CAF50;
}

.privacy-modal-close {
    color: #aaa;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.privacy-modal-close:hover,
.privacy-modal-close:focus {
    color: #fff;
}

.privacy-modal-body {
    line-height: 1.8;
}

.privacy-modal-body h3 {
    color: #4CAF50;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 20px;
}

.privacy-modal-body h4 {
    color: #66BB6A;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 16px;
}

.privacy-modal-body p {
    margin-bottom: 15px;
    color: #cccccc;
    font-size: 14px;
}

.privacy-modal-body ul {
    margin: 15px 0;
    padding-left: 30px;
}

.privacy-modal-body li {
    margin-bottom: 10px;
    color: #cccccc;
    font-size: 14px;
}

.privacy-modal-body strong {
    color: #ffffff;
}

.privacy-effective-date {
    font-style: italic;
    color: #999;
    margin-bottom: 20px;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.cookie-settings-modal.show {
    display: block;
}

.cookie-settings-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #333;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    color: #ffffff;
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
}

.cookie-settings-header h2 {
    margin: 0;
    color: #4CAF50;
}

.cookie-category {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category h3 {
    margin: 0;
    font-size: 16px;
    color: #ffffff;
}

.cookie-category p {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #999;
}

.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: #666;
    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: #4CAF50;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(26px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-settings-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-consent-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-consent-btn {
        flex: 1;
        min-width: 100px;
    }
    
    .privacy-modal-content,
    .cookie-settings-content {
        width: 95%;
        margin: 5% auto;
        padding: 20px;
    }
    
    .privacy-modal-header h2 {
        font-size: 20px;
    }
}

/* Scrollbar Styling for Modal */
.privacy-modal-content::-webkit-scrollbar,
.cookie-settings-content::-webkit-scrollbar {
    width: 8px;
}

.privacy-modal-content::-webkit-scrollbar-track,
.cookie-settings-content::-webkit-scrollbar-track {
    background: #2a2a2a;
}

.privacy-modal-content::-webkit-scrollbar-thumb,
.cookie-settings-content::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 4px;
}

.privacy-modal-content::-webkit-scrollbar-thumb:hover,
.cookie-settings-content::-webkit-scrollbar-thumb:hover {
    background: #45a049;
}
