/* ============================================
   فایل: style.css
   مسیر: public/assets/css/RegistrationForm/style.css
   ============================================ */

/* ============================================
   تنظیمات کلی صفحه با بک‌گراند عکس
   ============================================ */

.page-wrapper {
    background-image: url('../../images/general/formfruit.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 10px 0;
    position: relative;
}

/* ============================================
   لایه تیره (اوورلی)
   ============================================ */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

/* ============================================
   کارت شیشه‌ای (Glass Card)
   ============================================ */

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============================================
   عکس داخل هدر
   ============================================ */

.header-image {
    max-width: 100px;
    height: auto;
    border-radius: 50%;
    border: 2px solid #28a745;
}

/* ============================================
   استایل ورودی‌ها
   ============================================ */

.glass-card .form-control {
    background: rgba(255, 255, 255, 0.8);
    border: 1.5px solid #e8ecef;
}

.glass-card .form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.12);
    background: #fff;
}

/* ============================================
   چک‌باکس سفارشی
   ============================================ */

.custom-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.custom-checkbox:checked {
    background-color: #28a745;
    border-color: #28a745;
}

/* ============================================
   دکمه ثبت نام
   ============================================ */

.custom-btn {
    background: #28a745;
    border: none;
    transition: all 0.3s ease;
}

.custom-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

/* ============================================
   ریسپانسیو
   ============================================ */

@media (max-width: 576px) {
    .glass-card .card-body {
        padding: 1.25rem !important;
    }
    .header-image {
        max-width: 70px;
    }
}