/* استایل مدرن فرم رزرو و پاپ‌آپ */
.massage-booking-container {
    max-width: 580px;
    margin: 25px auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    font-family: inherit;
    border: 1px solid #f1f5f9;
}
.massage-booking-header {
    text-align: center;
    margin-bottom: 24px;
}
.massage-booking-header h3 {
    margin: 0 0 8px 0;
    font-size: 22px;
    color: #0f172a;
    font-weight: 800;
}
.massage-booking-header p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}
.massage-form .form-row {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}
.massage-form label {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}
.massage-form .req {
    color: #ef4444;
}
.massage-form input[type="text"],
.massage-form input[type="tel"],
.massage-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s ease;
    background-color: #f8fafc;
    box-sizing: border-box;
}
.massage-form input:focus,
.massage-form select:focus {
    border-color: #0ea5e9;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}
.massage-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 10px;
}
.massage-submit-btn:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px -3px rgba(2, 132, 199, 0.35);
}
.mb-error-box {
    margin-top: 14px;
    background: #fef2f2;
    color: #b91c1c;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    border-right: 4px solid #ef4444;
}

/* پاپ‌آپ زیبا و واکنش‌گرا */
.massage-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    padding: 15px;
    box-sizing: border-box;
}
.massage-modal-card {
    background: #ffffff;
    max-width: 440px;
    width: 100%;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    animation: mbPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes mbPopIn {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.modal-icon-badge {
    width: 76px;
    height: 76px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}
.massage-modal-card h4 {
    font-size: 21px;
    color: #15803d;
    margin: 0 0 10px 0;
    font-weight: 800;
}
.massage-modal-card p {
    color: #475569;
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0 0 24px 0;
}
.modal-close-btn {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
}
.modal-close-btn:hover {
    background: #1e293b;
}


/* ============================================================
   استایل صفحه تک‌مقاله (وبلاگ / مقالات) - وسط‌چین و زیبا
   فقط روی صفحات تکی نوشته اعمال می‌شود (body.single / single-post)
   ============================================================ */
body.single,
body.single-post,
body.single-format-standard {
    background-color: #f8fafc;
}

/* کادر مرکزی و خوانای محتوای مقاله */
body.single .content-area,
body.single .site-content,
body.single #primary,
body.single .entry-content,
body.single .post-content,
body.single article,
body.single .hentry {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* کارت ظاهری محتوای مقاله */
body.single article,
body.single .hentry,
body.single .post,
body.single .type-post {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    margin: 25px auto;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    box-sizing: border-box;
}

/* تیتر مقاله */
body.single .entry-title,
body.single h1.entry-title,
body.single .post-title {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.6;
    margin: 10px auto 14px auto;
}

/* اطلاعات متا (نویسنده، تاریخ، دسته) */
body.single .entry-meta,
body.single .post-meta,
body.single .posted-on {
    text-align: center;
    color: #64748b;
    font-size: 13.5px;
    margin: 0 auto 20px auto;
}

/* تصویر شاخص وسط‌چین */
body.single .post-thumbnail,
body.single .wp-post-image,
body.single .entry-content > .wp-block-image,
body.single .entry-content img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* تیترهای داخلی مقاله وسط‌چین */
body.single .entry-content h1,
body.single .entry-content h2,
body.single .entry-content h3,
body.single .entry-content h4,
body.single .entry-content h5,
body.single .entry-content h6 {
    text-align: center;
    color: #0f172a;
    font-weight: 700;
    margin-top: 1.4em;
    margin-bottom: 0.6em;
}

/* متن پاراگراف‌ها: وسط‌چین با فاصله خط خوانا */
body.single .entry-content,
body.single .entry-content p,
body.single .post-content,
body.single .post-content p,
body.single article p,
body.single .hentry p {
    text-align: center;
    color: #334155;
    font-size: 16px;
    line-height: 2;
    margin-left: auto;
    margin-right: auto;
}

/* لیست‌ها، نقل‌قول و بلاک‌ها هم وسط‌چین */
body.single .entry-content ul,
body.single .entry-content ol {
    display: inline-block;
    text-align: center;
    padding-right: 0;
    margin: 0 auto 1em auto;
    list-style-position: inside;
}
body.single .entry-content blockquote {
    background: #f0f9ff;
    border: none;
    border-right: 4px solid #0ea5e9;
    border-radius: 10px;
    padding: 14px 18px;
    text-align: center;
    color: #075985;
    margin: 20px auto;
    max-width: 640px;
}

/* لینک‌ها */
body.single .entry-content a {
    color: #0284c7;
}
body.single .entry-content a:hover {
    text-decoration: underline;
}

/* برچسب‌ها و بخش پایانی نوشته */
body.single .entry-footer,
body.single .tags-links,
body.single .cat-links {
    text-align: center;
    color: #64748b;
    font-size: 13px;
}

/* واکنش‌گرا: موبایل */
@media (max-width: 600px) {
    body.single article,
    body.single .hentry,
    body.single .post,
    body.single .type-post {
        padding: 22px 14px;
        border-radius: 12px;
        margin: 15px 10px;
    }
    body.single .entry-title,
    body.single h1.entry-title,
    body.single .post-title {
        font-size: 23px;
    }
}
