 :root {
     --brand1: #8E1616;
     --brand2: #D84040;
     --accent: linear-gradient(135deg, var(--brand1), var(--brand2));
     --bg-dark: #050509;
     --card-dark: #0f172a;
     --card-soft: #111827;
     --text: #f9fafb;
     --muted: #9ca3af;
     --radius: 20px;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: "Cairo", sans-serif;
 }

 body {
     min-height: 100vh;
     background:
         radial-gradient(circle at top left, rgba(216, 64, 64, 0.22), transparent 55%),
         radial-gradient(circle at bottom right, rgba(20, 20, 20, 1), #020617);
     color: var(--text);
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 16px;
 }

 .layout {
     width: 100%;
     max-width: 1120px;
     display: grid;
     grid-template-columns: 1.3fr 1fr;
     gap: 32px;
     align-items: center;
 }

 /* =========================
       info side
    ========================== */
 .info-side {
     position: relative;
 }

 .badge-top {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     padding: 6px 12px;
     border-radius: 999px;
     background: rgba(15, 23, 42, 0.85);
     border: 1px solid rgba(248, 250, 252, 0.06);
     font-size: 13px;
     color: var(--muted);
     margin-bottom: 14px;
 }

 .badge-dot {
     width: 8px;
     height: 8px;
     border-radius: 999px;
     background: var(--accent);
 }

 .info-title {
     font-size: 26px;
     font-weight: 700;
     margin-bottom: 10px;
 }

 .info-sub {
     font-size: 14px;
     color: var(--muted);
     max-width: 420px;
     line-height: 1.7;
 }

 .info-grid {
     margin-top: 26px;
     display: grid;
     grid-template-columns: 1.2fr 1fr;
     gap: 16px;
     align-items: stretch;
 }

 .stats-card {
     background: linear-gradient(135deg, #020617, #020617);
     border-radius: var(--radius);
     padding: 18px 18px 16px;
     border: 1px solid rgba(148, 163, 184, 0.3);
     box-shadow: 0 20px 45px rgba(15, 23, 42, 0.9);
     position: relative;
     overflow: hidden;
 }

 .stats-row {
     display: flex;
     justify-content: space-between;
     gap: 10px;
     margin-bottom: 10px;
 }

 .stat {
     flex: 1;
 }

 .stat-label {
     font-size: 11px;
     color: var(--muted);
     margin-bottom: 4px;
 }

 .stat-value {
     font-size: 18px;
     font-weight: 700;
 }

 .stat-chip {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     padding: 4px 10px;
     border-radius: 999px;
     background: rgba(15, 23, 42, 0.9);
     border: 1px solid rgba(248, 250, 252, 0.06);
     font-size: 11px;
     color: var(--muted);
     margin-top: 4px;
 }

 .chip-dot-consult {
     width: 6px;
     height: 6px;
     border-radius: 999px;
     background: #22c55e;
 }

 .chip-dot-training {
     width: 6px;
     height: 6px;
     border-radius: 999px;
     background: #38bdf8;
 }

 .stats-card::before {
     content: "";
     position: absolute;
     width: 220px;
     height: 220px;
     background: radial-gradient(circle, rgba(216, 64, 64, 0.45), transparent 65%);
     top: -80px;
     left: -60px;
     opacity: .7;
 }

 .stats-chart {
     margin-top: 10px;
     height: 60px;
     position: relative;
     border-radius: 14px;
     background: radial-gradient(circle at top, var(--brand2), #111827);
     overflow: hidden;
 }

 .bar {
     position: absolute;
     bottom: 0;
     width: 10%;
     border-radius: 999px 999px 0 0;
     background: rgba(248, 250, 252, 0.9);
     opacity: 0.9;
     transform-origin: bottom;
     animation: barPulse 4s ease-in-out infinite;
 }

 .bar:nth-child(1) {
     left: 10%;
     height: 40%;
     animation-delay: 0s;
 }

 .bar:nth-child(2) {
     left: 26%;
     height: 75%;
     animation-delay: .2s;
 }

 .bar:nth-child(3) {
     left: 42%;
     height: 55%;
     animation-delay: .4s;
 }

 .bar:nth-child(4) {
     left: 58%;
     height: 85%;
     animation-delay: .6s;
 }

 .bar:nth-child(5) {
     left: 74%;
     height: 65%;
     animation-delay: .8s;
 }

 @keyframes barPulse {

     0%,
     100% {
         transform: scaleY(1);
     }

     50% {
         transform: scaleY(1.2);
     }
 }

 .tags-card {
     background: rgba(15, 23, 42, 0.9);
     border-radius: var(--radius);
     padding: 16px 16px 12px;
     border: 1px solid rgba(75, 85, 99, 0.7);
     display: flex;
     flex-direction: column;
     gap: 8px;
 }

 .tag-pill {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     border-radius: 999px;
     padding: 5px 10px;
     background: rgba(17, 24, 39, 0.96);
     border: 1px solid rgba(148, 163, 184, 0.4);
     font-size: 11px;
     color: var(--muted);
     width: fit-content;
     animation: floating 5s ease-in-out infinite;
 }

 .tag-pill span.icon {
     font-size: 13px;
 }

 .tag-pill:nth-child(2) {
     animation-delay: .4s;
 }

 .tag-pill:nth-child(3) {
     animation-delay: .8s;
 }

 @keyframes floating {

     0%,
     100% {
         transform: translateY(0);
     }

     50% {
         transform: translateY(-4px);
     }
 }

 .mini-note {
     font-size: 11px;
     color: var(--muted);
     margin-top: 4px;
 }

 /* optional hero image box */
 .hero-thumb {
     margin-top: 16px;
     border-radius: 18px;
     overflow: hidden;
     border: 1px solid rgba(55, 65, 81, 0.9);
     background: radial-gradient(circle at top left, #0f172a, #020617);
     padding: 10px;
     display: flex;
     gap: 10px;
     align-items: center;
 }

 .hero-thumb img {
     width: 72px;
     height: 72px;
     border-radius: 16px;
     object-fit: cover;
 }

 .hero-thumb-text {
     font-size: 12px;
     color: var(--muted);
     line-height: 1.6;
 }

 .hero-highlight {
     display: inline-block;
     padding: 2px 8px;
     border-radius: 999px;
     background: rgba(148, 27, 27, 0.18);
     color: #fca5a5;
     font-size: 11px;
     margin-bottom: 4px;
 }

 /* =========================
       login card
    ========================== */
 .login-side {
     display: flex;
     justify-content: center;
 }

 .login-card {
     width: 100%;
     max-width: 380px;
     background: var(--card-dark);
     border-radius: var(--radius);
     padding: 26px 24px 24px;
     box-shadow: 0 20px 55px rgba(15, 23, 42, 0.95);
     border: 1px solid rgba(148, 163, 184, 0.35);
     position: relative;
     overflow: hidden;
     animation: slideUp .7s ease-out;
 }

 .login-card::before {
     content: "";
     position: absolute;
     inset: -40%;
     background: radial-gradient(circle at top, rgba(216, 64, 64, 0.35), transparent 65%);
     opacity: .8;
     pointer-events: none;
 }

 .login-inner {
     position: relative;
     z-index: 1;
 }

 .login-header {
     display: flex;
     align-items: center;
     justify-content: space-between;
     margin-bottom: 18px;
 }

 .login-title {
     font-size: 18px;
     font-weight: 600;
 }

 .login-sub {
     font-size: 12px;
     color: var(--muted);
 }

 .login-icon {
     width: 40px;
     height: 40px;
     border-radius: 14px;
     background: var(--accent);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 18px;
     color: #fff;
     box-shadow: 0 10px 25px rgba(148, 27, 27, 0.5);
 }

 .field {
     display: flex;
     align-items: center;
     gap: 10px;
     padding: 11px 12px;
     border-radius: 14px;
     background: rgba(15, 23, 42, 0.9);
     border: 1px solid rgba(55, 65, 81, 0.9);
     margin-bottom: 10px;
     transition: .15s;
 }

 .field:focus-within {
     border-color: var(--brand2);
     box-shadow: 0 0 0 1px rgba(216, 64, 64, 0.4);
     background: #020617;
 }

 .field .icon {
     font-size: 16px;
     opacity: .8;
     width: 26px;
     text-align: center;
 }

 .field input {
     width: 100%;
     border: none;
     outline: none;
     background: transparent;
     font-size: 14px;
     color: var(--text);
     text-align: right;
     direction: rtl;
 }

 .field input::placeholder {
     color: #6b7280;
 }

 .toggle-pass {
     border: none;
     background: transparent;
     cursor: pointer;
     font-size: 15px;
     color: #9ca3af;
 }

 .login-btn {
     width: 100%;
     margin-top: 12px;
     border: none;
     border-radius: 14px;
     padding: 11px 14px;
     background: var(--accent);
     color: #fff;
     font-size: 15px;
     font-weight: 600;
     cursor: pointer;
     box-shadow: 0 14px 32px rgba(148, 27, 27, 0.55);
     transition: .1s;
 }

 .login-btn:hover {
     transform: translateY(-1px);
     box-shadow: 0 18px 38px rgba(148, 27, 27, 0.6);
 }

 .login-btn:active {
     transform: translateY(1px);
     box-shadow: 0 8px 18px rgba(148, 27, 27, 0.4);
 }

 .msg {
     margin-top: 12px;
     font-size: 12px;
     padding: 8px 10px;
     border-radius: 10px;
     display: none;
 }

 .msg.error {
     background: rgba(127, 29, 29, 0.2);
     color: #fecaca;
     border: 1px solid rgba(248, 113, 113, 0.6);
 }

 .msg.success {
     background: rgba(22, 163, 74, 0.16);
     color: #bbf7d0;
     border: 1px solid rgba(34, 197, 94, 0.6);
 }

 @keyframes slideUp {
     from {
         opacity: 0;
         transform: translateY(14px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* responsive */
 @media (max-width:960px) {
     .layout {
         grid-template-columns: 1fr;
         max-width: 720px;
     }

     .login-side {
         order: 1;
     }

     .info-side {
         order: 2;
         margin-top: 18px;
     }
 }

 @media (max-width:640px) {
     body {
         padding: 12px;
     }

     .login-card {
         max-width: 100%;
     }

     .info-grid {
         grid-template-columns: 1fr;
     }

     .hero-thumb {
         display: none;
     }
 }