/* =====================================================================
   Vellora — صفحات تسجيل الدخول (هوية Soft Zone + لوجو الشركة تحتها)
   شكل واحد للكمبيوتر والموبايل — شكل بس، كل الكنترولز والأحداث زي ما هي
   ===================================================================== */
@font-face { font-family: "VCairo"; font-weight: 400; font-display: swap; src: url("/Disttr2/fonts/cairo/cairo-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "VCairo"; font-weight: 400; font-display: swap; src: url("/Disttr2/fonts/cairo/cairo-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "VCairo"; font-weight: 600; font-display: swap; src: url("/Disttr2/fonts/cairo/cairo-arabic-600-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "VCairo"; font-weight: 600; font-display: swap; src: url("/Disttr2/fonts/cairo/cairo-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "VCairo"; font-weight: 700; font-display: swap; src: url("/Disttr2/fonts/cairo/cairo-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "VCairo"; font-weight: 700; font-display: swap; src: url("/Disttr2/fonts/cairo/cairo-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "VCairo"; font-weight: 800; font-display: swap; src: url("/Disttr2/fonts/cairo/cairo-arabic-800-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "VCairo"; font-weight: 800; font-display: swap; src: url("/Disttr2/fonts/cairo/cairo-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }

html, body.vz-auth { color-scheme: light; }
body.vz-auth {
    --v-ink: #1b2631;
    --v-muted: #5e6873;
    --v-faint: #8a939c;
    --v-line: #dde0da;
    --v-input: #cfd4cc;
    --v-denim: #23406a;
    --v-denim-deep: #182d4b;
    --v-thread: #d9981c;
    --v-neg: #b0323d;
    --v-neg-soft: #f8e4e6;
    display: block !important;
    height: auto !important;
    min-height: 100vh;
    margin: 0;
    background: var(--v-denim-deep) !important;
    color: var(--v-ink);
    font-family: "VCairo", "Cairo", Tahoma, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.vz-auth :is(input, button, label, h1, h2, h3, p, a, span) { font-family: "VCairo", "Cairo", Tahoma, sans-serif; }
body.vz-auth > form { margin: 0; }

.sz-main {
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 32px 16px 24px;
    box-sizing: border-box;
}
.sz-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; animation: szFade .5s ease-out both; direction: rtl; }
.sz-head img { width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.sz-head span { font-family: "Segoe UI", "VCairo", "Cairo", Tahoma, sans-serif; font-size: 30px; font-weight: 300; color: #fff; letter-spacing: .3px; }
.sz-head b { font-weight: 800; color: #5b9bff; }

/* لوجو الشركة تحت لوجو البرنامج */
.sz-brand {
    display: flex; align-items: center; justify-content: center;
    width: 100%; max-width: 220px;
    margin: 2px auto 12px;
    padding: 10px 14px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
    animation: szFade .55s ease-out both;
    box-sizing: border-box;
}
.sz-brand img { display: block; max-width: 100%; max-height: 92px; width: auto; height: auto; object-fit: contain; }
.sz-brand img:not([src]), .sz-brand img[src=""] { display: none; }
.sz-brand:has(img:not([src])), .sz-brand:has(img[src=""]) { display: none; }

.sz-greet { font-size: 15px; font-weight: 600; color: #c3cfe2; margin-bottom: 4px; animation: szFade .5s ease-out both; }
.sz-occasion {
    display: inline-flex; align-items: center; gap: 6px;
    margin: 4px 0 2px; padding: 5px 14px; border-radius: 999px;
    font-size: 14px; font-weight: 700; color: #f6c35b;
    background: rgba(217, 152, 28, .14); border: 1px solid rgba(217, 152, 28, .35);
    animation: szFade .6s ease-out both; text-align: center;
}
.sz-occasion i { color: #f6c35b; font-size: 12px; }

/* الكارت */
body.vz-auth .login-card {
    width: 100%;
    max-width: 400px;
    margin: 18px auto 0;
    padding: 30px 28px 26px !important;
    background: #ffffff !important;
    color: var(--v-ink);
    border: 0;
    border-radius: 14px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35) !important;
    outline: 2px dashed var(--v-thread);
    outline-offset: 6px;
    text-align: center;
    animation: szFade .45s ease-out both !important;
    box-sizing: border-box;
}
body.vz-auth .login-card h2 { font-size: 22px; font-weight: 800; color: var(--v-ink); margin: 0 0 4px; }
body.vz-auth .login-card .sz-sub { font-size: 14px; color: var(--v-muted); margin: 0 0 18px; }
body.vz-auth .sz-field { text-align: right; margin-bottom: 14px; }
body.vz-auth .sz-field label { display: block; font-size: 13px; font-weight: 600; color: var(--v-muted); margin-bottom: 5px; }
body.vz-auth .sz-field label i { color: var(--v-faint); margin-left: 4px; font-size: 12px; }
body.vz-auth .sz-field .form-control {
    display: block; width: 100%; box-sizing: border-box;
    height: 44px;
    padding: 8px 12px !important;
    background: #ffffff !important;
    color: var(--v-ink) !important;
    border: 1px solid var(--v-input) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    font-size: 15px;
    direction: rtl;
    text-align: right !important;
}
body.vz-auth .sz-field .form-control::placeholder { color: var(--v-faint); }
body.vz-auth .sz-field .form-control:focus {
    border-color: var(--v-denim) !important;
    box-shadow: 0 0 0 3px rgba(35, 64, 106, .12) !important;
    outline: none;
}
body.vz-auth .btn-login {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    margin: 6px 0 10px !important;
    padding: 10px 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    background: var(--v-denim) !important;
    border: 0 !important;
    border-radius: 8px !important;
    color: #fff !important;
    transition: background-color .15s;
}
body.vz-auth .btn-login:hover, body.vz-auth .btn-login:focus { background: var(--v-denim-deep) !important; color: #fff !important; }
body.vz-auth .btn-track {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 9px 12px !important;
    background: #ffffff !important;
    color: var(--v-denim) !important;
    border: 1px solid #c3cad3 !important;
    border-radius: 8px !important;
    font-weight: 700;
    text-decoration: none;
}
body.vz-auth .btn-track:hover { border-color: var(--v-thread) !important; color: #9a6a0c !important; }
body.vz-auth [id$="resultloginLbl"]:not(:empty) {
    display: block;
    margin: 4px 0 2px;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--v-neg-soft);
    color: var(--v-neg) !important;
    font-size: 14px;
    font-weight: 600;
}
.sz-foot { margin-top: 26px; font-size: 12.5px; color: #93a3bf; text-align: center; }

@keyframes szFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sz-head, .sz-greet, .sz-brand, .sz-occasion, body.vz-auth .login-card { animation: none !important; } }
@media (max-width: 480px) {
    .sz-main { justify-content: flex-start; padding-top: 32px; }
    .sz-head img { width: 46px; height: 46px; }
    .sz-head span { font-size: 25px; }
    .sz-brand { max-width: 180px; }
    body.vz-auth .login-card { padding: 24px 18px 20px !important; }
}
