/* Overlay styles */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-content {
    background: white;
    border-radius: 0;
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    text-align: left;
    margin: 80px auto 0;
}

.overlay-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 24px;
    position: relative;
}

.overlay-title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    margin: 0;
    line-height: 1;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.overlay-body {
    padding: 0 40px;
    max-height: 80vh;
    overflow-y: auto;
}

.overlay-disclaimer {
    padding: 16px 96px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 900px) {
    .overlay-content {
        max-width: 600px;
    }
    
    .overlay-disclaimer {
        padding: 16px 24px;
    }
}
