/* افزودن فونت وزیرمتن از گوگل فونت */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;600;700&display=swap');

/* --- استایل کلی فرم --- */
#customer-form-wrapper {
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    /* اعمال فونت جدید */
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --- استایل عنوان‌ها --- */
#customer-form-wrapper h2,
#customer-form-wrapper h4 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.4;
}

/* --- استایل لیبل‌ها (عناوین فیلدها) --- */
#customer-form-wrapper label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

/* --- استایل تمام فیلدهای ورودی --- */
#customer-form-wrapper input[type="text"],
#customer-form-wrapper input[type="tel"],
#customer-form-wrapper input[type="number"],
#customer-form-wrapper input[type="date"],
#customer-form-wrapper select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fff;
    font-size: 14px;
    font-family: 'Vazirmatn', sans-serif;
}
#customer-form-wrapper select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: .65em auto;
    padding-right: 2.5rem;
}


/* --- افکت هنگام کلیک روی فیلدها --- */
#customer-form-wrapper input:focus,
#customer-form-wrapper select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.2);
}

/* --- استایل دکمه‌ها --- */
#customer-form-wrapper button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: #0073aa;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s;
    font-family: 'Vazirmatn', sans-serif;
}
#customer-form-wrapper button:disabled {
    background-color: #999;
    cursor: not-allowed;
}

#customer-form-wrapper button:hover:not(:disabled) {
    background-color: #005a87;
}

/* --- استایل بخش پیام‌ها و اطلاعات --- */
#form-messages,
#returning-customer-info {
    text-align: center;
    line-height: 1.6;
}

/* --- استایل برای لوگو --- */
.ocr-logo-wrapper {
    text-align: center;
    margin-bottom: 20px;
}
.ocr-logo-wrapper img {
    max-width: 150px;
    height: auto;
}