/**
 * Custom CSS
 * کدهای CSS سفارشی خود را اینجا قرار دهید
 * این فایل به صورت خودکار در همه صفحات سایت لود می‌شود
 */

/* رنگ اصلی قالب — برای تغییر از قالب: :root { --mh-accent: #YOUR_COLOR; } */
:root {
    --mh-accent: #897d4b;
    --mh-accent-hover: #6b6140;
}

/* فرم ثبت شماره تماس */
.mh-phone-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.5rem 0;
}

.mh-phone-form input[type="tel"] {
    padding: 0.65rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    min-width: 180px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mh-phone-form input[type="tel"]:focus {
    outline: none;
    border-color: var(--mh-accent);
    box-shadow: 0 0 0 3px rgba(137, 125, 75, 0.2);
}

.mh-phone-form button[type="submit"],
.mh-phone-form .mh-phone-btn {
    padding: 0.65rem 1.25rem;
    background: var(--mh-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.mh-phone-form button[type="submit"]:hover:not(:disabled),
.mh-phone-form .mh-phone-btn:hover:not(:disabled) {
    background: var(--mh-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(137, 125, 75, 0.35);
}

.mh-phone-form button[type="submit"]:active:not(:disabled),
.mh-phone-form .mh-phone-btn:active:not(:disabled) {
    transform: translateY(0);
}

/* اسنکبار (پیام موفقیت/خطا) — مدل قبلی، پایین وسط صفحه */
.mh-consultation-snackbar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    max-width: min(420px, calc(100vw - 32px));
    text-align: center;
    direction: rtl;
    z-index: 100000;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    backdrop-filter: blur(8px);
}

.mh-consultation-snackbar--visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.mh-consultation-snackbar--success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95) 0%, rgba(5, 150, 105, 0.95) 100%);
    color: #fff;
}

.mh-consultation-snackbar--error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(220, 38, 38, 0.95) 100%);
    color: #fff;
}

.mh-consultation-snackbar--info {
    background: linear-gradient(135deg, var(--mh-accent) 0%, var(--mh-accent-hover) 100%);
    color: #fff;
}

.mh-consultation-snackbar__text {
    display: block;
}

