* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: #f8fafc; color: #1e293b; }

.signin-layout {
    display: flex !important;
    width: 100% !important;
    min-height: calc(100vh - 75px) !important;
    align-items: stretch !important;
}

.signin-left {
    flex: 1 !important;
    background: linear-gradient(135deg, #023e7d 0%, #0353a4 50%, #0077b6 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 40px !important;
}

.overlay {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    color: #ffffff !important;
}

.hero-icon-box {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-icon-box i {
    font-size: 38px;
    color: #ea580c;
}

.overlay h1 {
    font-size: 36px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 12px !important;
}

.overlay p {
    font-size: 15px !important;
    color: #e0f2fe !important;
    max-width: 380px !important;
    line-height: 1.6 !important;
}

.hero-features {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-features span {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #e0f2fe;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-features span i {
    color: #34d399;
}

.signin-right {
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 40px 20px !important;
    background: #f8fafc !important;
}

.signin-card {
    width: 100% !important;
    max-width: 420px !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 35px 30px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid #e2e8f0 !important;
    text-align: center;
}

.signin-icon i {
    font-size: 45px !important;
    color: #023e7d !important;
    margin-bottom: 10px;
}

.signin-card h2 {
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 24px !important;
    margin-bottom: 5px !important;
}

.login-subtitle {
    color: #64748b !important;
    font-size: 13px !important;
    margin-bottom: 22px !important;
}

.form-group {
    text-align: left;
    margin-bottom: 16px !important;
}

.form-group label {
    font-weight: 600 !important;
    color: #334155 !important;
    font-size: 13px !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.form-control {
    width: 100% !important;
    height: 46px !important;
    border-radius: 10px !important;
    border: 1.5px solid #cbd5e1 !important;
    padding: 0 15px !important;
    font-size: 14px !important;
    color: #0f172a !important;
    background: #ffffff !important;
    outline: none !important;
}

.form-control:focus {
    border-color: #023e7d !important;
    box-shadow: 0 0 0 4px rgba(2, 62, 125, 0.12) !important;
}

.password-box-custom {
    position: relative !important;
    width: 100% !important;
}

.password-toggle-btn {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
    color: #64748b !important;
    font-size: 16px !important;
}

.login-btn-custom {
    width: 100% !important;
    height: 46px !important;
    border: none !important;
    border-radius: 10px !important;
    background: #023e7d !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(2, 62, 125, 0.25) !important;
    margin-top: 8px !important;
}

.login-btn-custom:hover {
    background: #0353a4 !important;
}

.owner-login-btn, .user-login-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    height: 46px !important;
    border: 2px solid #0f172a !important;
    border-radius: 10px !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-top: 15px !important;
    font-size: 13px !important;
    transition: all 0.2s ease;
}

.owner-login-btn:hover, .user-login-btn:hover {
    background: #0f172a !important;
    color: #ffffff !important;
}

.clean-alert {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 13px;
}
.alert-danger { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

@media(max-width: 992px) {
    .signin-layout { flex-direction: column !important; }
    .signin-left { min-height: 200px !important; }
}
/* تنسيق البنر الأيسر بتدرج ملكي ونقشة شبكية فاخرة */
.signin-left {
    background: linear-gradient(135deg, #012a4a 0%, #014f86 50%, #2a6f97 100%), 
                radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    color: #ffffff;
    text-align: center;
}

/* إضافة نقشة هندسية خفيفة وفاخرة بالـ CSS (بدون حقوق وبدون صور) */
.signin-left::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}

/* التأكد من أن المحتوى فوق النقشة وبشكل واضح ومنتصف تماماً */
.signin-left .overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 400px;
}

/* تنسيق أيقونة الهيرو البرتقالية المميزة */
.signin-left .hero-icon-box {
    width: 90px;
    height: 90px;
    background: rgba(234, 88, 12, 0.15);
    border: 2px solid rgba(234, 88, 12, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.signin-left .hero-icon-box i {
    font-size: 38px;
    color: #ea580c;
}

.signin-left h1 {
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.signin-left p {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}