  /* ===== فقاعات متحركة ===== */
  .auth-hero {
      position: relative;
      background: linear-gradient(135deg, #00478c, #002856);
      min-height: 200px;
      display: flex;
      align-items: center;
  }

  .auth-bubble {
      position: absolute;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      pointer-events: none;
      z-index: 0;
  }

  .bubble-1 {
      width: 250px;
      height: 250px;
      top: -100px;
      left: -100px;
      animation: float-auth 10s ease-in-out infinite;
  }

  .bubble-2 {
      width: 200px;
      height: 200px;
      bottom: -80px;
      right: -80px;
      animation: float-auth 8s ease-in-out infinite reverse;
  }

  .bubble-3 {
      width: 150px;
      height: 150px;
      top: 20%;
      right: 20%;
      animation: float-auth 12s ease-in-out infinite;
  }

  .bubble-4 {
      width: 150px;
      height: 150px;
      bottom: 30%;
      right: 15%;
      animation: float-contact 7s ease-in-out infinite 0.5s;
  }

  .bubble-5 {
      width: 100px;
      height: 100px;
      top: 60%;
      left: 20%;
      animation: float-contact 9s ease-in-out infinite 1s;
  }


  @keyframes float-auth {

      0%,
      100% {
          transform: translate(0, 0) scale(1);
      }

      25% {
          transform: translate(20px, -20px) scale(1.1);
      }

      50% {
          transform: translate(-20px, 20px) scale(0.9);
      }

      75% {
          transform: translate(15px, 15px) scale(1.05);
      }
  }

  /* ===== بطاقة المصادقة ===== */
  .auth-card {
      background: white;
      border-radius: 30px;
      overflow: hidden;
      box-shadow: 0 30px 60px rgba(0, 71, 140, 0.15);
      animation: slideUp 0.5s ease;
  }

  @keyframes slideUp {
      from {
          opacity: 0;
          transform: translateY(30px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  /* ===== تبويبات ===== */
  .auth-tabs {
      border-bottom: 1px solid #e9ecef;
  }

  .auth-tab {
      background: none;
      border: none;
      font-size: 1.1rem;
      font-weight: 600;
      color: #6c757d;
      transition: all 0.3s ease;
      cursor: pointer;
      position: relative;
  }

  .auth-tab:hover {
      color: #00478c;
      background: #f8f9fa;
  }

  .auth-tab.active {
      color: #00478c;
      background: white;
  }

  .auth-tab.active::after {
      content: '';
      position: absolute;
      bottom: -1px;
      left: 0;
      width: 100%;
      height: 3px;
      background: #00478c;
      border-radius: 3px 3px 0 0;
  }

  /* ===== محتوى ===== */
  .auth-content {
      animation: fadeIn 0.5s ease;
  }

  @keyframes fadeIn {
      from {
          opacity: 0;
          transform: translateX(10px);
      }

      to {
          opacity: 1;
          transform: translateX(0);
      }
  }

  /* ===== فاصل ===== */
  .auth-divider {
      position: relative;
      text-align: center;
      margin: 20px 0;
  }

  .auth-divider::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 0;
      width: 100%;
      height: 1px;
      background: #e9ecef;
  }

  .divider-text {
      position: relative;
      background: white;
      padding: 0 15px;
      color: #6c757d;
      font-size: 0.9rem;
      z-index: 1;
  }

  /* ===== أزرار التواصل ===== */
  .social-login .btn {
      border-radius: 50px;
      padding: 12px;
      font-weight: 500;
      transition: all 0.3s ease;
  }

  .social-login .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .form-floating>label {
      padding: 1rem 1rem;
  }

  .form-floating>.form-control:focus~label,
  .form-floating>.form-control:not(:placeholder-shown)~label {
      opacity: 0.8;
      transform: scale(0.85);

  }

  .form-control,
  .form-select {
      border-radius: 15px;
      border: 2px solid #e9ecef;
      padding: 15px;
      height: auto;
      transition: all 0.3s ease;
  }



  .form-control:focus,
  .form-select:focus {
      border-color: #00478c;
      box-shadow: 0 0 0 0.25rem rgba(0, 71, 140, 0.1);
  }



  /* ===== خانات الاختيار ===== */
  .form-check-input:checked {
      background-color: #00478c;
      border-color: #00478c;
  }

  /* ===== تحسينات الجوال ===== */
  @media (max-width: 768px) {
      .auth-card {
          margin: 0 15px;
      }

      .auth-tab {
          font-size: 1rem;
          padding: 12px !important;
      }

      .auth-content {
          padding: 20px !important;
      }

      .bubble-1,
      .bubble-2,
      .bubble-3 {
          width: 150px;
          height: 150px;
      }
  }

  /* ===== تنسيقات RTL/LTR ===== */
  [dir="rtl"] .auth-tab.active::after {
      left: auto;
      right: 0;
  }

  [dir="rtl"] .form-floating>label {
      text-align: right;
  }

  [dir="rtl"] .me-2 {
      margin-left: 0.5rem !important;
      margin-right: 0 !important;
  }

  [dir="ltr"] .me-2 {
      margin-right: 0.5rem !important;
      margin-left: 0 !important;
  }