
    * { box-sizing: border-box; }
    body, html {
      height: 100%;
      margin: 0;
      direction: rtl;
      font-family: 'Vazirmatn', sans-serif;
    }

    .bg-cover {
      background: url('wyana.ir/assets/bg_login.jpg') no-repeat center center;
      background-size: cover;
      min-height: 100vh;
      position: relative;
    }
    .overlay {
      background: rgba(0, 0, 0, 0.55);
      position: absolute;
      top: 0; right: 0; left: 0; bottom: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 70px;
      padding: 20px;
      flex-wrap: wrap;
    }

    /* ===== سمت برند (چپ) ===== */
    .brand-side {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      max-width: 460px;
      z-index: 1;
    }

    .brand-title {
      margin: 0;
      font-size: 72px;
      font-weight: 900;
      letter-spacing: 2px;
      line-height: 1.1;
      direction: ltr;
      display: inline-block;
      background-image: linear-gradient(90deg, #f4e9d0, #d9c298, #f4e9d0);
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      color: transparent;
      filter: drop-shadow(0 0 14px rgba(217, 194, 152, 0.5));
    }

    .brand-subtitle {
      margin-top: 12px;
      font-size: 14px;
      letter-spacing: 0.5px;
      color: #cfc7b0; /* کرمی مایل به طوسی */
    }

    .brand-divider {
      width: 65%;
      height: 1px;
      border: none;
      margin: 24px auto;
      background: linear-gradient(90deg, transparent, #00e5cf, #0072ff, transparent);
    }

    .social-icons {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
    }

    .social-icons a {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.25);
      color: #fff;
      text-decoration: none;
      transition: all 0.25s ease;
    }

    .social-icons a:hover {
      background: linear-gradient(90deg, #0072ff, #00e5cf);
      border-color: transparent;
      transform: translateY(-3px);
      box-shadow: 0 6px 16px rgba(0, 229, 207, 0.35);
    }

    .social-icons svg {
      width: 20px;
      height: 20px;
      fill: currentColor;
    }

    @media (max-width: 900px) {
      .overlay {
        flex-direction: column-reverse;
        gap: 32px;
      }
      .brand-title {
        font-size: 42px;
      }
    }

    /* ===== کادر شیشه‌ای با نور "کرمی" روی لبه ===== */
    .login-box-wrapper {
      position: relative;
      width: 100%;
      max-width: 400px;
    }

    .snake-svg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      overflow: visible;
      pointer-events: none;
      z-index: 2;
    }

    /* خط پایه‌ی ثابت و کم‌رنگ دور کادر */
    .snake-base {
      fill: none;
      stroke: rgba(0, 201, 255, 0.18);
      stroke-width: 1.5;
    }

    /* دنباله‌ی نور (کم‌رنگ‌تر، عقب‌تر) */
    .snake-tail {
      fill: none;
      stroke: #0072ff;
      stroke-width: 3;
      stroke-linecap: round;
      opacity: 0.35;
      filter: blur(1.5px);
      stroke-dasharray: 10 90;
      pathLength: 100;
      animation: snake-move 7s linear infinite;
      animation-delay: -0.25s;
    }

    /* سر نور (پررنگ، جلوتر) */
    .snake-head {
      fill: none;
      stroke: #00e5cf;
      stroke-width: 3;
      stroke-linecap: round;
      filter: drop-shadow(0 0 4px #00e5cf);
      stroke-dasharray: 6 94;
      pathLength: 100;
      animation: snake-move 7s linear infinite;
    }

    @keyframes snake-move {
      to { stroke-dashoffset: -100; }
    }

    .login-box {
      position: relative;
      z-index: 1;
      background: rgba(255, 255, 255, 0.16);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 18px;
      padding: 28px 25px;
      color: #fff;
    }

    /* ===== جایگاه لوگو ===== */
    .logo-slot {
      display: flex;
      justify-content: center;
      margin-bottom: 18px;
    }
    .logo-slot img {
      width: 90px;
      height: 90px;
      object-fit: contain;
      display: block;
    }
    /* حالت پیش‌فرض تا وقتی لوگو قرار داده بشه (بعداً قابل حذفه) */
    .logo-slot .logo-placeholder {
      width: 90px;
      height: 90px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      border: 1px dashed rgba(255, 255, 255, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255, 255, 255, 0.6);
      font-size: 12px;
      text-align: center;
    }

    .login-box h4 {
      color: #fff;
      text-align: center;
      font-weight: 700;
      margin-bottom: 20px;
    }

    .login-box label {
      color: #e8f7ff;
      font-size: 14px;
      margin-bottom: 6px;
      display: block;
    }

    .login-box .form-control {
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.3);
      color: #fff;
    }
    .login-box .form-control::placeholder {
      color: rgba(255, 255, 255, 0.6);
    }
    .login-box .form-control:focus {
      background: rgba(255, 255, 255, 0.2);
      border-color: #00e5cf;
      box-shadow: 0 0 0 3px rgba(0, 229, 207, 0.25);
      color: #fff;
    }

    .login-box hr {
      border-color: rgba(255, 255, 255, 0.25);
      margin: 20px 0;
    }

    .btn-primary {
      background: linear-gradient(90deg, #0072ff, #00c9ff);
      border: none;
      font-weight: 600;
    }
    .btn-primary:hover {
      background: linear-gradient(90deg, #00c9ff, #0072ff);
    }

    .btn-outline-primary {
      color: #fff;
      border-color: rgba(255, 255, 255, 0.5);
      font-weight: 600;
    }
    .btn-outline-primary:hover {
      background: rgba(0, 201, 255, 0.25);
      border-color: #00c9ff;
      color: #fff;
    }

    .license-expiry {
      font-size: 13px;
      color: #d5f3ff;
      margin-top: -8px;
      margin-bottom: 15px;
    }

    fieldset[disabled] {
      opacity: 0.45;
    }

    .new-license-btn {
      display: block;
      width: 100%;
      background: #fff;
      color: #111;
      border: 1px solid #fff;
      border-radius: 8px;
      padding: 8px 10px;
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 12px;
      cursor: pointer;
      transition: 0.15s;
    }
    .new-license-btn:hover {
      background: #eee;
    }

    .alert {
      font-size: 14px;
    }

    /* ===== ریسپانسیو ===== */
    @media (max-width: 480px) {
      .login-box {
        padding: 22px 18px;
      }
      .login-box h4 {
        font-size: 18px;
      }
      .logo-slot img,
      .logo-slot .logo-placeholder {
        width: 75px;
        height: 75px;
      }
    }
  
