@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700&display=swap");

      body {
        font-family: "Vazirmatn", sans-serif;
      }
      .scene {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
      }

      .scene--threejs {
        z-index: 1;
      }

      .scene--particles {
        z-index: 2;
        pointer-events: none;
      }
      .back {
        position: fixed;
        top: 1.5rem;
        right: 2rem;
        z-index: 20;
      }

      .back__button {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(0, 109, 119, 0.2);
        border-radius: 50px;
        padding: 0.75rem 1.5rem;
        color: #006d77;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      }

      .back__button:hover {
        background: rgba(0, 109, 119, 0.1);
        border-color: #006d77;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 109, 119, 0.2);
      }

      .back__button:active {
        transform: translateY(0);
      }

      .back__icon {
        font-size: 1rem;
        transition: transform 0.3s ease;
      }

      .back__button:hover .back__icon {
        transform: translateX(3px);
      }

      .back__text {
        font-size: 0.9rem;
      }

      .login {
        position: relative;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        padding: 0.5rem;
      }

      .login__card {
        background: rgba(241, 255, 254, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 2rem;
        padding: 3rem;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        max-width: 400px;
        width: 100%;
        animation: cardFloat 6s ease-in-out infinite;
        position: relative;
        overflow: hidden;
      }

      .login__card::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(
          45deg,
          transparent,
          rgb(51, 138, 146, 0.1),
          transparent
        );
        animation: shimmer 3s linear infinite;
        pointer-events: none;
      }

      @keyframes cardFloat {
        0%,
        100% {
          transform: translateY(0px) rotate(0deg);
        }
        50% {
          transform: translateY(-10px) rotate(1deg);
        }
      }

      @keyframes shimmer {
        0% {
          transform: translateX(-100%) translateY(-100%) rotate(45deg);
        }
        100% {
          transform: translateX(100%) translateY(100%) rotate(45deg);
        }
      }

      .login__icon {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 4rem;
        margin-bottom: 1rem;
        animation: bounce 2s ease-in-out infinite;
        background: linear-gradient(45deg,  #ff6b6b, #feca57, #48fbec, #ff9ff3);
        background-size: 400% 400%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: bounce 2s ease-in-out infinite,
          gradientShift 4s ease-in-out infinite;
      }

      @keyframes bounce {
        0%,
        20%,
        50%,
        80%,
        100% {
          transform: translateY(0);
        }
        40% {
          transform: translateY(-10px);
        }
        60% {
          transform: translateY(-5px);
        }
      }

      @keyframes gradientShift {
        0% {
          background-position: 0% 50%;
        }
        50% {
          background-position: 100% 50%;
        }
        100% {
          background-position: 0% 50%;
        }
      }

      .login__title {
        font-size: 2rem;
        font-weight: 700;
        color: #374151;
        margin-bottom: 0.5rem;
        text-align: center;
      }

      .login__subtitle {
        color: #6b7280;
        text-align: center;
        margin-bottom: 2rem;
      }

      .form__group {
        position: relative;
        margin-bottom: 1.5rem;
      }

      .form__input {
        width: 100%;
        padding: 1rem 1rem 1rem 3rem;
        border: 2px solid #e5e7eb;
        border-radius: 1rem;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        text-align: right;
      }

      .form__input:focus {
        outline: none;
        border-color: #006d77;
        box-shadow: 0 0 0 4px rgba(0, 109, 119, 0.1);
        transform: translateY(-2px);
      }

      .form__icon {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: #9ca3af;
        font-size: 1.2rem;
        transition: all 0.3s ease;
      }

      .form__input:focus + .form__icon {
        color: #338a92;
        transform: translateY(-50%) scale(1.1);
      }

      .form__button {
        width: 100%;
        padding: 1rem;
        background: linear-gradient(135deg, #338a92 0%, #00bacb 100%);
        color: white;
        border: none;
        border-radius: 1rem;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
      }

      .form__button::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          90deg,
          transparent,
          rgba(255, 255, 255, 0.2),
          transparent
        );
        transition: left 0.5s;
      }

      .form__button:hover::before {
        left: 100%;
      }

      .form__button:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 109, 119, 0.3);
      }

      .form__button:active {
        transform: translateY(0);
      }

      .decoration {
        position: absolute;
        font-size: 2rem;
        opacity: 0.1;
        animation: float 8s ease-in-out infinite;
        pointer-events: none;
      }

      .decoration:nth-child(1) {
        top: 10%;
        left: 10%;
        animation-delay: 0s;
      }
      .decoration:nth-child(2) {
        top: 20%;
        right: 15%;
        animation-delay: 1s;
      }
      .decoration:nth-child(3) {
        bottom: 30%;
        left: 20%;
        animation-delay: 2s;
      }
      .decoration:nth-child(4) {
        bottom: 20%;
        right: 10%;
        animation-delay: 3s;
      }
      .decoration:nth-child(5) {
        top: 50%;
        left: 5%;
        animation-delay: 4s;
      }
      .decoration:nth-child(6) {
        top: 60%;
        right: 5%;
        animation-delay: 5s;
      }

      @keyframes float {
        0%,
        100% {
          transform: translateY(0px) rotate(0deg);
        }
        25% {
          transform: translateY(-20px) rotate(5deg);
        }
        50% {
          transform: translateY(-10px) rotate(-5deg);
        }
        75% {
          transform: translateY(-15px) rotate(3deg);
        }
      }

      .loading {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 1000;
      }

      .loading__spinner {
        width: 80px;
        height: 80px;
        border: 4px solid rgba(255, 255, 255, 0.3);
        border-top: 4px solid #338a92;
        border-radius: 50%;
        animation: spin 1s linear infinite;
      }

      @keyframes spin {
        0% {
          transform: rotate(0deg);
        }
        100% {
          transform: rotate(360deg);
        }
      }

      .message {
        background: linear-gradient(135deg, #10b981, #059669);
        color: white;
        padding: 1rem;
        border-radius: 1rem;
        text-align: center;
        margin-top: 1rem;
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.5s ease;
      }

      .message--success {
        background: linear-gradient(135deg, #10b981, #059669);
      }

      .message--visible {
        transform: translateY(0);
        opacity: 1;
      }

      @media (max-width: 768px) {
        .login__card {
          margin: 1rem;
          padding: 2rem;
        }

        .login__title {
          font-size: 1.5rem;
        }

        .login__icon {
          font-size: 3rem;
        }
      }