/* Modern Login UI Styles */
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     background: linear-gradient(135deg, #d3e2ff 0%, #f3dfff 100%);
     font-family: 'Inter', system-ui, sans-serif;
     min-height: 100vh;
     display: flex;
     flex-direction: column;
     justify-content: center;
 }

 .top-bar { display: none; }

 .main-content {
     width: 100%;
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 2rem 1.5rem;
 }

 .auth-card {
     max-width: 900px;
     width: 100%;
     background: transparent;
     border-radius: 1.5rem;
     box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.25);
     display: flex;
     flex-wrap: wrap;
     overflow: hidden;
 }

 .panel {
     flex: 0 0 50%;
     max-width: 50%;
 }

 .panel-white {
     background: #f8fafc;
     padding: 4rem 3.5rem;
     display: flex;
     flex-direction: column;
     justify-content: center;
 }

 .panel-blue {
     background: #1e1b4b;
     position: relative;
     overflow: hidden;
     display: flex;
     justify-content: center;
     align-items: center;
     min-height: 500px;
 }

 .panel-white .panel-title {
     font-size: 1.8rem;
     font-weight: 700;
     color: #0f172a;
     margin-bottom: 0.5rem;
 }

 .panel-white .panel-subtitle {
     font-size: 0.95rem;
     color: #475569;
     margin-bottom: 2.5rem;
     line-height: 1.5;
 }

 .input-group {
     margin-bottom: 1.5rem;
     display: flex;
     flex-direction: column;
     position: relative;
 }

 .input-label {
     font-size: 0.75rem;
     font-weight: 700;
     color: #334155;
     margin-bottom: 0.5rem;
     text-transform: uppercase;
     letter-spacing: 0.5px;
 }

 .input-wrapper {
     position: relative;
     display: flex;
     align-items: center;
 }

 .input-icon {
     position: absolute;
     left: 1rem;
     color: #94a3b8;
     font-size: 1rem;
 }

 .input-field {
     width: 100%;
     padding: 0.9rem 1rem 0.9rem 2.8rem;
     border: 1px solid #cbd5e1;
     border-radius: 0.75rem;
     font-size: 0.95rem;
     background: #ffffff;
     transition: all 0.2s;
     outline: none;
     color: #334155;
 }

 .input-field:focus {
     border-color: #3b82f6;
     box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
 }

 .toggle-password {
     position: absolute;
     right: 1rem;
     color: #94a3b8;
     cursor: pointer;
 }

 .forgot-link {
     text-align: right;
     margin-top: -0.5rem;
     margin-bottom: 2rem;
 }

 .forgot-link a {
     font-size: 0.85rem;
     color: #2563eb;
     text-decoration: none;
     font-weight: 600;
     cursor: pointer;
 }

 .btn-primary-custom {
     background: #19183b;
     color: white;
     border: none;
     padding: 0.8rem 2.5rem;
     border-radius: 2rem;
     font-size: 0.95rem;
     font-weight: 600;
     cursor: pointer;
     transition: transform 0.2s, background 0.2s;
     width: max-content;
     display: block;
 }

 .btn-primary-custom:hover {
     background: #2e2a6b;
     transform: scale(0.98);
 }

 /* Right Panel Graphics */
 .panel-blue .logo-text {
     position: absolute;
     top: 2rem;
     width: 100%;
     text-align: center;
     color: white;
     font-size: 2rem;
     font-weight: 800;
     z-index: 10;
 }

 .animation-container {
     position: relative;
     width: 400px;
     height: 400px;
     display: flex;
     justify-content: center;
     align-items: center;
 }

 .orbit-circle {
     position: absolute;
     border: 1px dashed rgba(255, 255, 255, 0.15);
     border-radius: 50%;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
 }

 .orbit-1 { width: 180px; height: 180px; animation: spin 20s linear infinite; }
 .orbit-2 { width: 280px; height: 280px; animation: spin 30s linear infinite reverse; }
 .orbit-3 { width: 380px; height: 380px; animation: spin 40s linear infinite; }

 .orbit-icon {
     position: absolute;
     width: 36px;
     height: 36px;
     background: linear-gradient(135deg, #fb923c, #f59e0b);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-size: 1rem;
     box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
 }

 .orbit-1 .orbit-icon { top: -18px; left: calc(50% - 18px); animation: spin 20s linear infinite reverse; }
 .orbit-2 .orbit-icon:nth-child(1) { top: 15px; right: 15px; animation: spin 30s linear infinite; }
 .orbit-2 .orbit-icon:nth-child(2) { bottom: 15px; left: 15px; animation: spin 30s linear infinite; }
 .orbit-3 .orbit-icon:nth-child(1) { top: 50%; left: -18px; margin-top: -18px; animation: spin 40s linear infinite reverse; }
 .orbit-3 .orbit-icon:nth-child(2) { bottom: 0px; right: 30px; animation: spin 40s linear infinite reverse; }

 .glass-card {
     width: 240px;
     height: 150px;
     background: rgba(255, 255, 255, 0.1);
     backdrop-filter: blur(8px);
     -webkit-backdrop-filter: blur(8px);
     border: 1px solid rgba(255, 255, 255, 0.2);
     border-radius: 1rem;
     position: absolute;
     z-index: 5;
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
     display: flex;
     flex-direction: column;
     padding: 1.5rem;
     justify-content: center;
     transform: rotate(-5deg);
     animation: float 6s ease-in-out infinite;
 }

 .glass-card .chip {
     width: 40px;
     height: 30px;
     background: linear-gradient(135deg, #fbbf24, #d97706);
     border-radius: 6px;
     margin-bottom: auto;
 }

 .glass-card .card-lines { width: 100%; margin-top: 1rem; }
 .glass-card .line { height: 6px; background: rgba(255, 255, 255, 0.3); border-radius: 3px; margin-bottom: 8px; }
 .glass-card .line-1 { width: 80%; }
 .glass-card .line-2 { width: 50%; }

 .glass-card .mastercard-logo {
     position: absolute;
     right: 1.5rem;
     bottom: 1.5rem;
     display: flex;
 }
 .glass-card .circle { width: 24px; height: 24px; border-radius: 50%; }
 .glass-card .circle-red { background: rgba(239, 68, 68, 0.9); }
 .glass-card .circle-yellow { background: rgba(252, 211, 77, 0.9); margin-left: -10px; mix-blend-mode: multiply; }

 @keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
 @keyframes float {
     0%, 100% { transform: rotate(-5deg) translateY(0); }
     50% { transform: rotate(-5deg) translateY(-15px); }
 }

 .otp-group,
 .mpin-group {
     display: flex;
     justify-content: center;
     gap: 12px;
     margin-bottom: 1.5rem;
 }

 .otp-input,
 .mpin-input {
     width: 60px;
     height: 60px;
     text-align: center;
     font-size: 1.5rem;
     border: 1px solid #ced4da;
     border-radius: 12px;
 }

 .otp-input:focus,
 .mpin-input:focus {
     border-color: #003ab4;
     outline: none;
     box-shadow: 0 0 0 2px rgba(0, 58, 180, 0.25);
 }

 .password-wrapper {
     position: relative;
 }

 .toggle-password {
     position: absolute;
     right: 15px;
     top: 50%;
     transform: translateY(-50%);
     cursor: pointer;
     color: #6c757d;
 }

 .professional-modal .modal-content {
     border-radius: 1rem;
     box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.2);
 }

 .professional-modal .btn-ok {
     background: #003ab4;
     border: none;
     border-radius: 2rem;
     padding: 0.6rem 2rem;
     font-weight: 600;
     color: white;
     transition: all 0.2s;
 }

 .professional-modal .btn-ok:hover {
     background: #002d8f;
     transform: scale(1.02);
 }

 .centered-toast {
     position: fixed;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     z-index: 9999;
     min-width: 300px;
     border-radius: 12px;
     padding: 16px 24px;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
     display: flex;
     align-items: center;
     gap: 12px;
     font-weight: 500;
     opacity: 0;
     visibility: hidden;
     transition: opacity 0.3s ease, visibility 0.3s;
     text-align: center;
     justify-content: center;
 }

 .centered-toast.success {
     background: #28a745;
     color: white;
 }

 .centered-toast.error {
     background: #dc3545;
     color: white;
 }

 .centered-toast.show {
     opacity: 1;
     visibility: visible;
 }

 .centered-toast i {
     font-size: 1.8rem;
 }

 .centered-toast .toast-message {
     flex: 1;
 }

 .toast-close {
     cursor: pointer;
     font-size: 1.2rem;
     color: rgba(255, 255, 255, 0.8);
 }

 .toast-close:hover {
     color: white;
 }

 @media (max-width: 860px) {
     .auth-card {
         flex-direction: column;
     }

     .panel {
         flex: 0 0 100%;
         max-width: 100%;
         padding: 2rem 1.5rem;
         width: 100%;
     }

     .panel-title {
         font-size: 1.5rem;
     }

     .btn-custom {
         width: 160px;
         padding: 0.6rem 0.5rem;
     }

     .top-bar {
         flex-direction: column;
         text-align: center;
     }

     .otp-input,
     .mpin-input {
         width: 45px;
         height: 45px;
         font-size: 1.2rem;
     }

     .centered-toast {
         min-width: 260px;
         padding: 12px 20px;
     }
 }
