/* SEO Law Overview Modal Styles */
body.seolaw-modal-open {
    overflow: hidden !important;
}

.seolaw-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.seolaw-modal-container {
    background: #ffffff;
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.seolaw-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 34px;
    font-weight: 300;
    color: #444;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: color 0.2s ease;
}

.seolaw-modal-close:hover {
    color: #000;
}

.seolaw-modal-content {
    padding: 40px;
    overflow-y: auto;
    flex-grow: 1;
    font-family: inherit;
    color: #333;
    line-height: 1.6;
}

.seolaw-modal-content h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #111;
}

.seolaw-modal-content h2 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #222;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

.seolaw-modal-content p, 
.seolaw-modal-content ul, 
.seolaw-modal-content ol {
    margin-bottom: 15px;
}

.seolaw-modal-content ul {
    padding-left: 20px;
}

.seolaw-loading-spinner {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: #666;
}

@media (max-width: 768px) {
    .seolaw-modal-container {
        max-height: 95vh;
        max-width: 100%;
    }
    .seolaw-modal-content {
        padding: 20px;
    }
}
