/* Medical Outreach Contact Form – Styles */

#mof-wrap {
    max-width: 560px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.mof-intro {
    font-size: 15px;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Notices */
.mof-notice {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 1.25rem;
}
.mof-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
}

/* Two-column row */
.mof-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 480px) {
    .mof-row {
        grid-template-columns: 1fr;
    }
}

/* Fields */
.mof-field {
    margin-bottom: 1.1rem;
}
.mof-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.mof-field label span {
    color: #0D5257;
}
.mof-field input,
.mof-field select,
.mof-field textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    font-family: inherit;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
}
.mof-field input:focus,
.mof-field select:focus,
.mof-field textarea:focus {
    border-color: #0D5257;
    box-shadow: 0 0 0 3px rgba(13, 82, 87, 0.15);
}
.mof-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}
.mof-field textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Divider */
.mof-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 1.5rem 0;
}

/* Submit button */
.mof-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background: #0D5257;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    margin-top: 0.25rem;
}
.mof-submit:hover {
    background: #0a3f43;
}
.mof-submit:active {
    transform: scale(0.99);
}

/* Success state */
#mof-success-view {
    text-align: center;
    padding: 3rem 1rem;
}
.mof-success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(13, 82, 87, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #0D5257;
}
#mof-success-view h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111;
    margin: 0 0 8px;
}
#mof-success-view p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}
