/* Cookie Modal Styles */

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1;
}

.cookie-modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.cookie-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #040D81;
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    color: #6B7280;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.cookie-modal-close:hover {
    color: #040D81;
    background-color: #f3f4f6;
}

.cookie-modal-content {
    padding: 24px;
    flex: 1;
    overflow-y: auto;
    color: #1F2937;
    line-height: 1.6;
}

.cookie-modal-content h1,
.cookie-modal-content h2,
.cookie-modal-content h3 {
    color: #040D81;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.cookie-modal-content h1:first-child,
.cookie-modal-content h2:first-child,
.cookie-modal-content h3:first-child {
    margin-top: 0;
}

.cookie-modal-content p {
    margin-bottom: 1em;
}

.cookie-modal-content ul,
.cookie-modal-content ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

.cookie-modal-content a {
    color: #22C55E;
    text-decoration: none;
    position: relative;
    font-weight: 500;
}

.cookie-modal-content a::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 0;
    width: 0;
    height: 2px;
    background: #22C55E;
    transition: width 0.25s ease;
}

.cookie-modal-content a:hover::after {
    width: 100%;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .cookie-modal-container {
        width: 95%;
        max-height: 90vh;
    }

    .cookie-modal-header {
        padding: 20px 20px 12px 20px;
    }

    .cookie-modal-header h2 {
        font-size: 1.25rem;
    }

    .cookie-modal-content {
        padding: 20px;
    }
}

