.article-container {
    max-width: 600px;
    margin: 40px auto;
    background: #fff;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-top: 4px solid #004d40;
}

.section-title {
    font-family: 'Merriweather', serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.section-desc {
    font-family: 'Merriweather', serif;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
    font-style: italic;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
    color: #444;
}

.required { color: #d32f2f; }

input[type="text"], input[type="tel"], input[type="email"] {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    background-color: #fafafa;
    box-sizing: border-box;
    transition: border-color 0.3s;
    border-radius: 2px;
}

input:focus {
    outline: none;
    border-color: #004d40;
    background-color: #fff;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
}

.checkbox-group input {
    margin-top: 5px;
    margin-right: 10px;
    transform: scale(1.2);
}

.checkbox-group label {
    font-weight: 400;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
}
.custom-submit-div {
    width: 100%;
    padding: 15px;
    background-color: #1a1a1a;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    box-sizing: border-box;
    user-select: none;
    text-align: center;
}

.custom-submit-div:hover {
    background-color: #004d40;
}

.custom-submit-div.disabled-div {
    opacity: 0.7;
    pointer-events: none;
    cursor: default;
}

.error-msg {
    color: #d32f2f;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.input-error { border-color: #d32f2f !important; }

.loader {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: rotation 1s linear infinite;
    margin-left: 10px;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.popup-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease; z-index: 1000;
}
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup-content {
    background: white; width: 90%; max-width: 400px; padding: 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); border-radius: 4px;
    transform: translateY(20px); transition: transform 0.3s ease;
}
.popup-overlay.active .popup-content { transform: translateY(0); }
.popup-header {
    background: #f4f4f4; padding: 15px 20px; display: flex; justify-content: space-between;
    align-items: center; border-bottom: 1px solid #ddd;
}
.popup-header h3 { margin: 0; font-family: 'Merriweather', serif; }
.close-btn { background: none; border: none; font-size: 24px; cursor: pointer; color: #666; }
.popup-body { padding: 20px; text-align: center; }
.popup-ok-btn {
    background-color: #004d40; color: white; border: none; padding: 10px 25px; margin-top: 15px;
    cursor: pointer; font-weight: bold;
}

@media (max-width: 600px) {
    .article-container { padding: 20px; margin: 20px auto; }
    .section-title { font-size: 24px; }
}