      /* Global Style Reset */
      * {
          margin: 0;
          padding: 0;
          box-sizing: border-box;
      }

      body {
          font-family: 'Poppins', sans-serif;
          background: #004d4d;
          min-height: 100vh;
          display: flex;
          justify-content: center;
          align-items: center;
          padding: 20px;
          margin: 0;
          padding: 0;
          display: flex;
          justify-content: center;
          align-items: center;
          min-height: 100vh;

      }

      .message {
          text-align: center;
          font-size: 1.1rem;
          color: #004d4d;
          background: linear-gradient(135deg, #e0f7fa, #80deea);
          padding: 15px;
          border-radius: 8px;
          margin-bottom: 20px;
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
          position: relative;
      }

      .message:before {
          content: "ℹ️";
          font-size: 1.5rem;
          color: #004d4d;
          position: absolute;
          top: -10px;
          left: 50%;
          transform: translateX(-50%);
          background: white;
          border-radius: 50%;
          width: 30px;
          height: 30px;
          display: flex;
          align-items: center;
          justify-content: center;
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      }


      /* Container Styles */


      .login-container {
          width: 100%;
          max-width: 400px;
          padding: 20px;
          background: rgb(255, 255, 255);
          border-radius: 40px;
          /* Changed from 10px to 20px for rounder corners */
          box-shadow: 0 8px 90px rgba(255, 255, 255, 0.99);
          /* Blue shadow based on logo color */
          margin: 0 15px;
      }

      /* Header Styles */
      .login-header {
          text-align: center;
          margin-bottom: 40px;
      }

      .login-header h2 {
          color: #004d4d;
          font-size: 2rem;
          font-weight: 600;
      }

      /* Input Group Styles */
      .input-group {
          position: relative;
          margin-bottom: 30px;
      }

      /* Base Input Styles */
      .input-group input[type="text"],
      .input-group input[type="password"],
      .input-group select {
          width: 100%;
          padding: 12px 20px;
          margin: 8px 0;
          border: 1px solid #555;
          border-radius: 8px;
          background-color: transparent;
          font-size: 1rem;
          color: #004d4d;
          transition: all 0.3s ease;
      }

      /* RTL Input Styles */
      [dir="rtl"] .input-group input[type="text"],
      [dir="rtl"] .input-group input[type="password"],
      [dir="rtl"] .input-group select {
          text-align: right;
          padding-right: 20px;
          padding-left: 40px;
      }

      /* LTR Input Styles */
      [dir="rtl"] .input-group input[type="text"],
      [dir="rtl"] .input-group input[type="password"],
      [dir="rtl"] .input-group select {
          text-align: left;
          padding-left: 20px;
          padding-right: 40px;
      }

      /* Hover and Focus States */
      .input-group input:hover,
      .input-group select:hover {
          border-color: #007a7a;
          box-shadow: 0 2px 8px rgba(0, 77, 77, 0.1);
          transform: translateY(-1px);
      }

      .input-group input:focus,
      .input-group select:focus {
          background-color: lightblue;
          border-color: #004d4d;
          outline: none;
          box-shadow: 0 4px 12px rgba(0, 77, 77, 0.15);
          transform: translateY(-2px);
      }

      /* Label Styles */
      .input-group label {
          position: absolute;
          top: 20px;
          pointer-events: none;
          transition: all 0.3s ease;
          color: #555;
          border-radius: 4px;
          padding: 0 4px;
      }

      /* RTL Label Positioning */
      [dir="rtl"] .input-group label {
          right: 20px;
          left: auto;
      }

      /* LTR Label Positioning */
      [dir="ltr"] .input-group label {
          left: 20px;
          right: auto;
      }

      /* Focus and Filled States for Labels */
      [dir="rtl"] .input-group input:focus+label,
      [dir="rtl"] .input-group input:not(:placeholder-shown)+label,
      [dir="rtl"] .input-group select:focus+label,
      [dir="rtl"] .input-group select:not(:placeholder-shown)+label {
          top: -10px;
          right: 15px;
          font-size: 0.8rem;
          color: #004d4d;
          background-color: rgb(255, 255, 255, 0.85);
      }



      /* Icon Positioning */
      .input-group i {
          position: absolute;
          top: 20px;
          color: #555;
      }

      [dir="rtl"] .input-group i {
          left: 15px;
          right: auto;
      }

      [dir="ltr"] .input-group i {
          right: 15px;
          left: auto;
      }

      /* Tab Container */
      .tab-container {
          display: flex;
          justify-content: space-around;
          margin-bottom: 30px;
      }

      .tab {
          padding: 10px 20px;
          cursor: pointer;
          transition: all 0.3s ease;
          border-bottom: 2px solid transparent;
          color: #004d4d;
      }

      .tab.active {
          border-bottom-color: #004d4d;
      }

      /* Button Styles */
      .login-btn {
          width: 100%;
          padding: 12px;
          border: none;
          border-radius: 50px;
          background: linear-gradient(135deg, #003333 0%, #005555 100%);
          color: #fff;
          font-size: 1.3rem;
          font-weight: 500;
          cursor: pointer;
          position: relative;
          overflow: hidden;
          /* Ensures the lighting effect stays within the button's shape */
          transition: all 0.3s ease;
      }

      /* Lighting effect on hover */
      .login-btn::before {
          content: '';
          position: absolute;
          top: 0;
          left: -100%;
          width: 200%;
          height: 100%;
          background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
          transform: skewX(-20deg);
          transition: all 0.5s ease;
      }

      .login-btn:hover::before {
          left: 100%;
          transition: all 0.5s ease;
      }


      /* Message Styles */
      .error,
      .success {
          margin-bottom: 20px;
          font-size: 0.9rem;
          text-align: center;
      }

      .error {
          color: #ff4757;
      }

      .success {
          color: #2ed573;
      }

      /* Remember Me Checkbox */
      .input-group[style*="flex"] {
          display: flex;
          align-items: center;
      }

      [dir="rtl"] .input-group[style*="flex"] label {
          margin-right: 8px;
          margin-left: 0;
      }

      [dir="ltr"] .input-group[style*="flex"] label {
          margin-left: 8px;
          margin-right: 0;
      }

      /* Footer Text */
      .developed-by {
          text-align: center;
          margin-top: 20px;
          font-size: 0.8rem;
          color: #555;
      }

      .custom-select {
          position: relative;
          font-family: 'Poppins', sans-serif;
          margin-bottom: 25px;
      }

      .custom-select select {
          display: none;
      }

      .select-selected {
          background: linear-gradient(135deg, #003333 0%, #005555 100%);
          border-radius: 8px;
      }

      /* Style the arrow inside the select element */
      [dir="ltr"] .select-selected:after {
          position: absolute;
          content: "";
          top: 14px;
          right: 10px;
          width: 0;
          height: 0;
          border: 6px solid transparent;
          border-color: #fff transparent transparent transparent;
          transition: transform 0.3s ease;
      }

      [dir="rtl"] .select-selected:after {
          position: absolute;
          content: "";
          top: 14px;
          left: 10px;
          right: auto;
          width: 0;
          height: 0;
          border: 6px solid transparent;
          border-color: #fff transparent transparent transparent;
          transition: transform 0.3s ease;
      }

      /* Point the arrow upwards when the select box is open */
      .select-selected.select-arrow-active:after {
          transform: rotate(180deg);
          top: 14px;
      }

      /* Style the items (options), including the selected item */
      .select-items div,
      .select-selected {
          color: #ffffff;
          padding: 12px 16px;
          border: 1px solid transparent;
          border-color: transparent transparent rgba(255, 255, 255, 0.1) transparent;
          cursor: pointer;
          user-select: none;
          transition: background-color 0.3s ease;
      }

      [dir="rtl"] .select-items div,
      [dir="rtl"] .select-selected {
          text-align: right;
      }

      /* Style items (options) */
      .select-items {
          position: absolute;
          background: #004d4d;
          top: 100%;
          left: 0;
          right: 0;
          z-index: 99;
          border-radius: 0 0 8px 8px;
          margin-top: 2px;
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
          opacity: 0;
          transform: translateY(-10px);
          transition: all 0.3s ease;
      }

      /* Show the items when the select box is opened */
      .select-items.select-show {
          opacity: 1;
          transform: translateY(0);
      }

      /* Hide the items when the select box is closed */
      .select-hide {
          display: none;
      }

      .select-items div:hover,
      .same-as-selected {
          background-color: rgba(255, 255, 255, 0.1);
      }

      /* Add smooth hover effect */
      .select-selected:hover {
          background: linear-gradient(135deg, #004444 0%, #006666 100%);
      }

      /* First and last items border radius */
      .select-items div:last-child {
          border-radius: 0 0 8px 8px;
      }

      /* Responsive Design */
      @media (max-width: 480px) {
          .login-container {
              padding: 30px 20px;
          }
      }

      .developed-by {
          font-size: 14px;
          margin: 10px 0;
      }

      .developed-by a:hover {
          text-decoration: underline;
      }

      .language-select {
          position: relative;
          width: 100%;
          margin-bottom: 25px;
      }

      .language-select .select-btn {
          display: flex;
          align-items: center;
          background: linear-gradient(135deg, #003333 0%, #005555 100%);
          padding: 15px;
          font-size: 16px;
          border-radius: 8px;
          cursor: pointer;
          color: #fff;
          box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
          transition: all 0.3s ease;
      }

      .language-select .select-btn:hover {
          background: linear-gradient(135deg, #004444 0%, #006666 100%);
          transform: translateY(-1px);
          box-shadow: 0 5px 15px rgba(23, 32, 42);
      }

      .language-select .select-btn i {
          font-size: 20px;
          transition: transform 0.3s ease;
      }

      .language-select.active .select-btn i {
          transform: rotate(-180deg);
      }

      .language-select .options {
          position: absolute;
          width: 100%;
          padding: 10px;
          margin-top: 10px;
          border-radius: 8px;
          background: #fff;
          box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
          display: none;
          z-index: 100;
      }

      .language-select.active .options {
          display: block;
          animation: fadeIn 0.3s ease;
      }

      .options .option {
          display: flex;
          align-items: center;
          padding: 12px 15px;
          cursor: pointer;
          border-radius: 4px;
          transition: all 0.2s ease;
      }

      .options .option:hover {
          background: #8dd0bb;
      }

      .option .lang-icon {
          width: 24px;
          height: 24px;
          margin-right: 12px;
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          background: #004d4d;
          color: white;
          font-weight: 500;
      }

      .option .lang-text {
          font-size: 16px;
          color: #333;
      }

      [dir="rtl"] .option .lang-icon {
          margin-right: 0;
          margin-left: 12px;
      }

      @keyframes fadeIn {
          from {
              opacity: 0;
              transform: translateY(-10px);
          }

          to {
              opacity: 1;
              transform: translateY(0);
          }
      }

      .lang-icon {
          width: 24px;
          height: 24px;
          margin-right: 12px;
          border-radius: 50%;
          object-fit: cover;
      }

      .select-btn .arrow {
          margin-left: auto;
          padding-left: 8px;
      }

      .select-btn .arrow i {
          font-size: 12px;
          transition: transform 0.3s ease;
      }

      .language-select.active .select-btn .arrow i {
          transform: rotate(180deg);
      }

      [dir="rtl"] .select-btn .arrow {
          margin-left: 0;
          margin-right: auto;
          padding-left: 0;
          padding-right: 8px;
      }

      .options {
          position: absolute;
          width: 100%;
          margin-top: 4px;
          border-radius: 6px;
          background: #fff;
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
          display: none;
          z-index: 100;
      }

      [dir="rtl"] .lang-icon {
          margin-right: 0;
          margin-left: 12px;
      }

      .select-btn .lang-icon {
          width: 20px;
          height: 20px;
      }


      .input-group input[type="text"],
      .input-group input[type="password"] {
          padding: 12px 40px 12px 15px;
          /* Right icon padding for LTR */
      }

      [dir="rtl"] .input-group input[type="text"],
      [dir="rtl"] .input-group input[type="password"] {
          padding: 12px 15px 12px 40px;
          /* Left icon padding for RTL */
          text-align: right;
      }

      /* Label positioning */
      .input-group label {
          left: 15px;
          right: auto;
      }

      [dir="rtl"] .input-group label {
          right: 15px;
          left: auto;
      }

      /* Icon positioning */
      .input-group i {
          right: 15px;
          left: auto;
      }

      [dir="rtl"] .input-group i {
          left: 15px;
          right: auto;
      }

      /* Remember me checkbox spacing */
      .input-group[style*="flex"] label {
          margin-left: 8px;
          margin-right: 0;
      }

      [dir="rtl"] .input-group[style*="flex"] label {
          margin-right: 8px;

          margin-left: 0;
      }

      /* Mobile Responsive Styles */
      @media (max-width: 480px) {
          body {
              flex-direction: column;
              padding: 10px;
          }

          .login-container {
              width: 100%;
              max-width: 100%;
              box-shadow: 0 8px 60px rgba(255, 255, 255, 0.99);
              /* Blue shadow based on logo color */
          }

          .message {
              font-size: 0.9rem;
              padding: 10px;
              margin-bottom: 15px;
          }

          .message:before {
              font-size: 1.2rem;
              width: 25px;
              height: 25px;
              top: -12px;
          }
      }

      /* Modern Tab Container */
      .tab-container {
          display: flex;
          justify-content: center;
          gap: 20px;
          margin-bottom: 30px;
          padding: 12px;
          position: relative;
          background: rgba(255, 255, 255, 0.15);
          border-radius: 20px;
          backdrop-filter: blur(8px);
          -webkit-backdrop-filter: blur(8px);
          box-shadow: 0 8px 32px rgba(0, 77, 77, 0.1);
      }

      /* Modern Tab Style */
      .tab {
          padding: 14px 28px;
          cursor: pointer;
          transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
          border-radius: 16px;
          font-weight: 500;
          color: #004d4d;
          position: relative;
          background: rgba(255, 255, 255, 0.2);
          border: 1px solid rgba(255, 255, 255, 0.2);
          overflow: hidden;
          z-index: 1;
          -webkit-tap-highlight-color: transparent;
          touch-action: manipulation;
          will-change: transform, background-color;
      }

      /* Glowing Effect */
      .tab::after {
          content: '';
          position: absolute;
          top: 50%;
          left: 50%;
          width: 200%;
          height: 200%;
          background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
          transform: translate(-50%, -50%) scale(0);
          transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
          z-index: -1;
      }

      /* Active Tab State */
      .tab.active {
          color: #fff;
          background: linear-gradient(135deg, #004d4d 0%, #006666 100%);
          box-shadow:
              0 10px 20px rgba(0, 77, 77, 0.2),
              inset 0 -4px 8px rgba(255, 255, 255, 0.2);
          border: 1px solid rgba(255, 255, 255, 0.3);
          transform: translateY(-2px);
      }

      .tab.active::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: linear-gradient(45deg,
                  transparent 0%,
                  rgba(255, 255, 255, 0.1) 45%,
                  rgba(255, 255, 255, 0.2) 50%,
                  rgba(255, 255, 255, 0.1) 55%,
                  transparent 100%);
          transform: translateX(-100%);
          transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
          z-index: 2;
      }

      .tab.active:hover::before,
      .tab.active:active::before {
          transform: translateX(100%);
      }

      /* Hover/Touch Effects */
      .tab:not(.active):hover,
      .tab:not(.active):active {
          background: rgba(255, 255, 255, 0.3);
          transform: translateY(-3px) scale(1.05);
          box-shadow: 0 8px 16px rgba(0, 77, 77, 0.15);
      }

      .tab:not(.active):hover::after,
      .tab:not(.active):active::after {
          transform: translate(-50%, -50%) scale(1);
      }

      /* Click/Touch Animation */
      .tab:active {
          transform: translateY(1px) scale(0.98);
          transition: transform 0.1s;
      }

      /* Tab Text Animation */
      .tab span {
          display: inline-block;
          transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
      }

      .tab:hover span,
      .tab:active span {
          transform: scale(1.05);
      }

      /* Loading Animation */
      @keyframes pulse {
          0% {
              opacity: 1;
          }

          50% {
              opacity: 0.7;
          }

          100% {
              opacity: 1;
          }
      }

      .tab.active.loading {
          animation: pulse 1.5s infinite;
      }

      /* Enhanced Ripple Effect */
      @keyframes ripple {
          0% {
              transform: scale(0);
              opacity: 0.5;
          }

          100% {
              transform: scale(2);
              opacity: 0;
          }
      }

      .tab .ripple {
          position: absolute;
          border-radius: 50%;
          background: rgba(255, 255, 255, 0.5);
          transform: scale(0);
          animation: ripple 0.6s ease-out;
          pointer-events: none;
      }

      /* Mobile-specific animations */
      @keyframes pressDown {
          0% {
              transform: scale(1);
          }

          100% {
              transform: scale(0.95);
          }
      }

      @keyframes releaseUp {
          0% {
              transform: scale(0.95);
          }

          100% {
              transform: scale(1);
          }
      }

      @keyframes glowPulse {
          0% {
              box-shadow: 0 0 5px rgba(0, 77, 77, 0.2);
          }

          50% {
              box-shadow: 0 0 15px rgba(0, 77, 77, 0.4);
          }

          100% {
              box-shadow: 0 0 5px rgba(0, 77, 77, 0.2);
          }
      }

      /* Responsive Styles with Enhanced Mobile Animations */
      @media (max-width: 480px) {
          .tab-container {
              gap: 10px;
              padding: 8px;
              flex-wrap: wrap;
              background: rgba(255, 255, 255, 0.12);
          }

          .tab {
              padding: 12px 24px;
              font-size: 0.9rem;
              -webkit-transform: translateZ(0);
              transform: translateZ(0);
              -webkit-backface-visibility: hidden;
              backface-visibility: hidden;
              transition: all 0.3s ease;
          }

          /* Enhanced touch animations */
          .tab:not(.active):active {
              animation: pressDown 0.2s forwards;
              background: rgba(255, 255, 255, 0.3);
          }

          .tab:not(.active) {
              animation: releaseUp 0.2s forwards;
          }

          .tab.active {
              animation: glowPulse 2s infinite;
          }

          /* Maintain scale and glow effects */
          .tab:not(.active):hover,
          .tab:not(.active):active {
              transform: translateY(-2px) scale(1.02);
              background: rgba(255, 255, 255, 0.25);
          }

          /* Enhanced active state for mobile */
          .tab.active {
              transform: translateY(-1px);
              box-shadow: 0 5px 15px rgba(0, 77, 77, 0.25);
          }

          /* Ensure smooth transitions */
          .tab,
          .tab::after,
          .tab::before {
              transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
          }
      }

      /* Touch device specific optimizations */
      @media (hover: none) {
          .tab {
              background: rgba(255, 255, 255, 0.15);
          }

          .tab:active {
              animation: pressDown 0.2s forwards;
          }

          .tab.active:active::before {
              transform: translateX(100%);
          }

          /* Enhanced touch feedback */
          .tab::after {
              transition: transform 0.3s ease-out;
          }

          .tab:active::after {
              transform: translate(-50%, -50%) scale(1.5);
              opacity: 0.4;
          }
      }

      .message-container {
          text-align: center;
          margin: 15px 0;
          padding: 0 20px;
      }

      .message {
          background-color: #f8f9fa;
          border: 1px solid #e9ecef;
          border-radius: 8px;
          padding: 15px;
          margin-bottom: 15px;
          color: #495057;
          font-size: 0.9em;
          line-height: 1.5;
      }

      .tutorial-btn {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          gap: 8px;
          background-color: #007bff;
          color: white;
          padding: 10px 20px;
          border-radius: 6px;
          text-decoration: none;
          font-weight: 500;
          transition: all 0.3s ease;
          border: none;
          cursor: pointer;
          margin-top: 10px;
      }

      .tutorial-btn:hover {
          background-color: #0056b3;
          transform: translateY(-1px);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      }

      .tutorial-btn i {
          font-size: 1.1em;
      }

      /* RTL support for tutorial button */
      html[dir="rtl"] .tutorial-btn {
          flex-direction: row-reverse;
      }