/* کانتینر اصلی صفحه ثبت‌نام */
.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 75vh;
    padding: 40px 20px;
    background-color: #f6f8fa; /* پس‌زمینه ملایم برای تفکیک بهتر کارت */
    font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif !important;
}

/* کارت اصلی ثبت‌نام (طراحی مجدد بوردر طبق کلاس .card موجود در HTML) */
.register-container .card {
    background: #ffffff !important;
    padding: 40px 30px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 25px rgba(4, 62, 89, 0.06) !important;
    border: 1.5px solid #dbe2eb !important; /* مرز کاملاً واضح و باکیفیت */
    box-sizing: border-box;
}

/* عنوان ثبت‌نام */
.register-container h2 {
    font-family: 'Vazirmatn', sans-serif !important;
    font-weight: 800;
    color: #043e59 !important; /* رنگ سازمانی تیره */
}

/* استایل‌دهی به فرم */
.contact-form {
    border: none !important; /* حذف مرز فرم داخلی برای جلوگیری از دوخطه شدن کارت */
    padding: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* استایل لیبل فیلدها در جنگو */
.contact-form label {
    display: block;
    text-align: right;
    color: #333333;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    direction: rtl;
}

/* استایل فیلدهای ورودی تولید شده توسط جنگو */
.contact-form input {
    width: 100% !important;
    box-sizing: border-box;
    padding: 14px 16px !important;
    border: 1.5px solid #cbd5e1 !important; /* لبه واضح برای فیلدها */
    border-radius: 10px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 15px;
    background-color: #f8fafc;
    color: #333333;
    transition: all 0.25s ease-in-out;
    outline: none;
    text-align: right;
}

/* افکت فوکوس فیلدها */
.contact-form input:focus {
    border-color: #043e59 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(4, 62, 89, 0.15) !important;
}

/* استایل دکمه ثبت‌نام */
.contact-form button.primary {
    background-color: #043e59 !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 16px;
    font-weight: 700;
    transition: background-color 0.2s ease !important;
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif !important;
}

.contact-form button.primary:hover {
    background-color: #06577d !important;
}

/* استایل لینک پایین صفحه */
.register-container p a {
    transition: color 0.2s;
}

.register-container p a:hover {
    color: #043e59 !important;
}
