  @font-face {
    font-family: 'IRANSans';
    src: url('../../Font/1.woff2') format('woff2');
    font-display: swap;
  }
  * {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'IRANSans', sans-serif;
  }
  html, body {
    height: 100%;
    overflow: hidden;
  }
  body {
    background: url('../../Photos/111.png') center/cover no-repeat;
  }
  #loader {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.7s ease;
  }
  #loader.hidden {
    opacity: 0;
    pointer-events: none;
  }
  #loader-box {
    background: #fff;
    border-radius: 15px;
    border: 3px solid #7a7a7a;
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    overflow: hidden;
  }
  #loader-box img {
    width: 100px;
    height: 100px;
    object-fit: contain;
  }
  #loader-text {
    color: #fff;
    font-size: 16px;
    user-select: none;
    text-align: center;
  }
  #app {
    display: none;
    min-height: 100vh;
    padding-top: 70px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }
  .wrapper {
    position: relative;
    width: 380px;
    padding: 50px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    border-radius: 8px;
    background: transparent;
  }
  .logo {
    width: 220px;
    height: auto;
    margin-bottom: 40px;
    flex-shrink: 0;
  }
  .card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .input-group {
    width: 100%;
    display: flex;
    align-items: center;
    background: transparent;
    border: 1.8px solid gray;
    border-radius: 0;
    padding: 10px;
  }
  .input-group img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
  }
  .input-group input {
    flex: 1;
    border: none;
    background: none;
    text-align: center;
    font-size: 14px;
    color: #fff;
    font-family: 'IRANSans', sans-serif;
  }
  .input-group input::placeholder {
    color: #fff;
  }
  .btn {
    width: 100%;
    background: #0097a7;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 10px;
    font-size: 15px;
    cursor: pointer;
    font-family: 'IRANSans', sans-serif;
    transition: background 0.2s ease;
  }
  .btn:hover {
    background: #007c8a;
  }

  #toast {
    position: fixed;
    right: -500px;
    top: 20px;
    background-color: #e53935;
    color: white;
    padding: 10px 16px;
    border-radius: 5px 0 0 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    font-size: 14px;
    z-index: 10000;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: right 0.6s ease;
    overflow: hidden;
  }

  #toast.show {
    right: 0;
  }

  #toast .bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: rgba(255,255,255,0.4);
    width: 0;
  }

  @keyframes fillBar {
    0% { width: 0; }
    100% { width: 100%; }
  }