* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html, body {
    height: 100%;
    overflow: hidden;
  }

  body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background: #eef0f5;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .page {
    position: relative;
    width: 96vw;
    height: 94vh;
    max-width: 1200px;
    max-height: 750px;
    background: #e9ebf1;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
  }

  /* Animated gradient background */
  .page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(106, 123, 245, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(85, 214, 194, 0.06) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
  }

  /* Floating decorative circles */
  .page .circle {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
  }

  .page .circle-1 {
    top: -8%;
    right: -4%;
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #a9b7f2, #8a9af0);
    opacity: 0.3;
    animation: floatCircle 12s ease-in-out infinite;
  }

  .page .circle-2 {
    bottom: -12%;
    right: 8%;
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #7c8ff0, #5a6ee0);
    opacity: 0.25;
    animation: floatCircle 14s ease-in-out infinite reverse;
  }

  .page .circle-3 {
    top: 40%;
    left: -6%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #55d6c2, #3fb7c9);
    opacity: 0.12;
    animation: floatCircle 10s ease-in-out infinite alternate;
  }

  @keyframes floatCircle {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-10px, -15px) scale(1.02); }
    66% { transform: translate(10px, 10px) scale(0.98); }
  }

  .dots-corner {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: grid;
    grid-template-columns: repeat(6, 8px);
    gap: 10px;
    z-index: 2;
  }
  .dots-corner span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #cfd6ee;
    transition: all 0.3s;
  }
  .dots-corner span:hover {
    background: #6a7bf5;
    transform: scale(1.5);
  }

  .card {
    position: absolute;
    inset: 5%;
    display: flex;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(60, 70, 130, 0.2);
    overflow: hidden;
    z-index: 1;
    animation: cardIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  @keyframes cardIn {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  /* LEFT PANEL */
  .left-panel {
    flex: 0 0 50%;
    background: linear-gradient(145deg, #1229d0 0%, #1c2f9a 50%, #0e20a5 100%);
    position: relative;
    padding: 5vh 4vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
  }

  .left-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
  }

  .left-panel .decor {
    position: absolute;
    top: 4vh;
    left: 4vw;
  }

  .decor-circle-white {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    position: absolute;
    top: 0;
    left: 0;
    animation: bob 4s ease-in-out infinite;
  }

  .decor-dots {
    position: absolute;
    top: 60px;
    left: 6px;
    display: grid;
    grid-template-columns: repeat(4, 10px);
    gap: 10px;
  }
  .decor-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: all 0.3s;
  }

  .decor-bars {
    position: absolute;
    top: 6px;
    left: 120px;
    display: flex;
    gap: 12px;
  }
  .decor-bars .bar {
    width: 18px;
    height: 90px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    transform-origin: bottom;
    animation: sway 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
  }
  .decor-bars .bar.filled {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
  }
  .decor-bars .bar.filled::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(255,255,255,0.25), transparent);
    border-radius: 0 0 10px 10px;
    animation: fillBar 3s ease-in-out infinite;
  }
  @keyframes fillBar {
    0%, 100% { height: 60%; }
    50% { height: 85%; }
  }
  .decor-bars .bar:not(.filled)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: rgba(255,255,255,0.08);
    border-radius: 0 0 10px 10px;
  }

  @keyframes sway {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.85); }
  }

  .decor-ring {
    position: absolute;
    top: 30px;
    left: 250px;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    animation: spin 8s linear infinite;
  }
  .decor-ring::after {
    content: "";
    position: absolute;
    top: 12px;
    left: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
  }
  .decor-ring .dot-teal {
    position: absolute;
    top: -6px;
    right: -16px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #55d6c2;
    box-shadow: 0 0 20px rgba(85, 214, 194, 0.5);
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  @keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
  @keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
  }

  /* Left Panel Content */
  .left-content {
    position: relative;
    z-index: 1;
  }

  .left-panel .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2vh;
  }

  .left-panel .brand .logo-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
  }

  .left-panel .brand span {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .left-panel .heading {
    font-size: clamp(26px, 4vh, 38px);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 0.8vh;
    max-width: 380px;
    letter-spacing: -0.02em;
  }

  .left-panel .heading span {
    background: linear-gradient(135deg, #55d6c2, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .left-panel .sub-heading {
    font-size: clamp(12px, 1.3vh, 14px);
    color: rgba(255,255,255,0.7);
    margin-bottom: 2vh;
    max-width: 350px;
    line-height: 1.5;
  }

  /* Services Slider - Continuous Loop */
  .services-slider {
    position: relative;
    overflow: hidden;
    height: 140px;
    margin-top: 0.5vh;
  }

  .services-track {
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: slideContinuous 18s ease-in-out infinite;
  }

  @keyframes slideContinuous {
    0%, 10% { transform: translateY(0); }
    16%, 26% { transform: translateY(-48px); }
    33%, 43% { transform: translateY(-96px); }
    50%, 60% { transform: translateY(-144px); }
    66%, 76% { transform: translateY(-192px); }
    83%, 93% { transform: translateY(-240px); }
    100% { transform: translateY(0); }
  }

  .service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
    height: 40px;
    flex-shrink: 0;
  }

  .service-item .icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
  }

  .service-item .icon.blue { background: rgba(59, 130, 246, 0.25); color: #93bbfc; }
  .service-item .icon.green { background: rgba(52, 211, 153, 0.25); color: #6ee7b7; }
  .service-item .icon.purple { background: rgba(167, 139, 250, 0.25); color: #c4b5fd; }
  .service-item .icon.orange { background: rgba(251, 146, 60, 0.25); color: #fdba74; }
  .service-item .icon.teal { background: rgba(45, 212, 191, 0.25); color: #5eead4; }
  .service-item .icon.pink { background: rgba(244, 114, 182, 0.25); color: #f9a8d4; }
  .service-item .icon.cyan { background: rgba(34, 211, 238, 0.25); color: #67e8f9; }
  .service-item .icon.yellow { background: rgba(251, 191, 36, 0.25); color: #fcd34d; }

  .service-item .info {
    flex: 1;
  }

  .service-item .info .name {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
  }

  .service-item .info .desc {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    line-height: 1.2;
  }

  /* Slider dots indicator */
  .slider-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 8px;
  }

  .slider-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: all 0.3s;
  }

  .slider-dots .dot.active {
    background: #55d6c2;
    width: 18px;
    border-radius: 3px;
  }

  .bottom-decor {
    position: absolute;
    left: 4vw;
    bottom: 4vh;
    z-index: 1;
  }
  .teal-dot-big {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #55d6c2;
    margin-bottom: 14px;
    box-shadow: 0 0 30px rgba(85, 214, 194, 0.3);
    animation: bob 3s ease-in-out infinite;
  }
  .bottom-dots {
    display: grid;
    grid-template-columns: repeat(4, 10px);
    gap: 10px;
  }
  .bottom-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: all 0.3s;
  }

  .x-mark {
    position: absolute;
    left: 14vw;
    bottom: 6vh;
    color: rgba(255,255,255,0.4);
    font-size: 18px;
    font-weight: 600;
    animation: pulse 3s ease-in-out infinite;
    z-index: 1;
    letter-spacing: 2px;
  }

  /* Arc decor */
  .arc-decor {
    position: absolute;
    right: -2vw;
    bottom: -4vh;
    width: 220px;
    height: 220px;
    z-index: 0;
  }
  .arc-ring {
    position: absolute;
    width: 190px;
    height: 190px;
    border: 3px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    bottom: 0;
    right: 0;
  }
  .arc-fill {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(145deg, #6fe0d0, #3fb7c9);
    bottom: 15px;
    right: 35px;
    box-shadow: 0 0 40px rgba(85, 214, 194, 0.2);
    animation: pulse 3s ease-in-out infinite;
  }
  .orbit-wrap {
    position: absolute;
    width: 190px;
    height: 190px;
    bottom: 0;
    right: 0;
    transform-origin: 50% 50%;
    animation: orbit 6s ease-in-out infinite;
  }
  .arc-small-dot {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #6fe0d0;
    box-shadow: 0 0 30px rgba(85, 214, 194, 0.5), 0 0 0 6px rgba(106, 123, 245, 0.3);
  }
  @keyframes orbit {
    0% { transform: rotate(-90deg); }
    50% { transform: rotate(90deg); }
    100% { transform: rotate(-90deg); }
  }

  /* RIGHT PANEL - Login Form */
  .right-panel {
    flex: 0 0 50%;
    background: #f8f9fe;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4vh 5vw;
    position: relative;
  }

  .right-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6a7bf5, #55d6c2, #6a7bf5);
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
  }
  @keyframes gradientMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
  }

  /* Login Box */
  .login-box {
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    padding: 2.5rem 2.2rem;
    border-radius: 20px;
    box-shadow:
      0 20px 60px rgba(106, 123, 245, 0.15),
      0 10px 30px rgba(0, 0, 0, 0.06),
      inset 0 1px 0 rgba(255,255,255,0.8);
    border: 1px solid rgba(238, 240, 245, 0.6);
    transition: all 0.4s ease;
    position: relative;
  }

  .login-box::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, #abb2e9, #f9f9f9, #cfcfcf);
    background-size: 300% 300%;
    z-index: -1;
    animation: borderGlow 4s ease-in-out infinite;
    opacity: 0.3;
  }

  @keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; opacity: 0.3; }
    50% { background-position: 100% 50%; opacity: 0.6; }
  }

  .login-box:hover {
    transform: translateY(-4px);
    box-shadow:
      0 30px 80px rgba(106, 123, 245, 0.2),
      0 15px 40px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255,255,255,0.8);
  }

  .login-box .logo-small {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .login-box .logo-small .icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #6a7bf5, #4b5eea);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(106, 123, 245, 0.3);
  }

  .login-box h2 {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #1a2b4a;
    margin-bottom: 4px;
  }

  .login-box .subtitle {
    text-align: center;
    color: #6a7a9a;
    font-size: 14px;
    margin-bottom: 1.5rem;
  }

  .login-box .input-group {
    margin-bottom: 1rem;
  }

  .login-box .input-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #2a3a5a;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
  }

  .login-box .input-group .input-wrapper {
    display: flex;
    align-items: center;
    background: #f8f9fc;
    border-radius: 12px;
    padding: 0 16px;
    border: 2px solid #eef0f5;
    transition: all 0.3s ease;
  }

  .login-box .input-group .input-wrapper:focus-within {
    border-color: #6a7bf5;
    box-shadow: 0 0 0 4px rgba(106, 123, 245, 0.1);
    background: #ffffff;
  }

  .login-box .input-group .input-wrapper i {
    color: #6a7a9a;
    font-size: 16px;
    transition: all 0.3s;
  }

  .login-box .input-group .input-wrapper:focus-within i {
    color: #6a7bf5;
  }

  .login-box .input-group .input-wrapper input {
    border: none;
    outline: none;
    width: 100%;
    padding: 12px 12px;
    font-size: 14px;
    background: transparent;
    color: #1a2b4a;
    font-weight: 500;
  }

  .login-box .input-group .input-wrapper input::placeholder {
    color: #b0b8c8;
    font-weight: 400;
  }

  .login-box .row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1.2rem 0 1.5rem;
    font-size: 13px;
  }

  .login-box .remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5a7a;
    font-weight: 500;
    cursor: pointer;
  }

  .login-box .remember-me input {
    width: 16px;
    height: 16px;
    accent-color: #6a7bf5;
    cursor: pointer;
  }

  .login-box .forgot-link {
    color: #6a7bf5;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    font-size: 13px;
  }

  .login-box .forgot-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #6a7bf5;
    transform: scaleX(0);
    transition: transform 0.3s;
  }

  .login-box .forgot-link:hover::after {
    transform: scaleX(1);
  }

  .login-box .login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #6a7bf5, #4b5eea);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(106, 123, 245, 0.35);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .login-box .login-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #4b5eea, #6a7bf5);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .login-box .login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(106, 123, 245, 0.45);
  }

  .login-box .login-btn:hover::before {
    opacity: 1;
  }

  .login-box .login-btn span {
    position: relative;
    z-index: 1;
  }

  .login-box .login-btn:active {
    transform: scale(0.98);
  }

  .login-box .footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 1.5rem;
    font-size: 13px;
    color: #6a7a9a;
  }

  .login-box .footer-links a {
    color: #6a7bf5;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
  }

  .login-box .footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #6a7bf5;
    transform: scaleX(0);
    transition: transform 0.3s;
  }

  .login-box .footer-links a:hover::after {
    transform: scaleX(1);
  }

  .login-box .footer-links .divider-line {
    color: #d0d5e0;
  }

  /* Responsive */
  @media (max-width: 900px) {
    html, body {
      height: auto;
      overflow: auto;
    }
    body {
      padding: 20px;
    }
    .page {
      width: 100%;
      height: auto;
      max-height: none;
      border-radius: 20px;
    }
    .card {
      position: static;
      inset: auto;
      margin: 0;
      flex-direction: column;
      border-radius: 20px;
    }
    .left-panel, .right-panel {
      flex: 1 1 auto;
    }
    .left-panel {
      min-height: 280px;
      padding: 30px 25px;
      justify-content: center;
    }
    .left-panel .heading {
      font-size: 24px;
      max-width: 100%;
    }
    .right-panel {
      padding: 30px 20px;
    }
    .login-box {
      max-width: 100%;
      padding: 2rem 1.5rem;
    }
    .decor-bars, .decor-ring, .arc-decor, .x-mark {
      display: none;
    }
    .dots-corner {
      display: none;
    }
    .services-slider {
      height: 120px;
    }
    .service-item {
      height: 34px;
    }
    @keyframes slideContinuous {
      0%, 10% { transform: translateY(0); }
      16%, 26% { transform: translateY(-42px); }
      33%, 43% { transform: translateY(-84px); }
      50%, 60% { transform: translateY(-126px); }
      66%, 76% { transform: translateY(-168px); }
      83%, 93% { transform: translateY(-210px); }
      100% { transform: translateY(0); }
    }
  }

  @media (max-width: 480px) {
    .left-panel .heading {
      font-size: 20px;
    }
    .left-panel .brand span {
      font-size: 15px;
    }
    .right-panel {
      padding: 20px 15px;
    }
    .login-box {
      padding: 1.5rem 1rem;
    }
    .login-box h2 {
      font-size: 18px;
    }
    .services-slider {
      height: 100px;
    }
    .service-item {
      height: 30px;
      padding: 6px 10px;
    }
    .service-item .info .name {
      font-size: 11px;
    }
    .service-item .info .desc {
      font-size: 9px;
    }
    .service-item .icon {
      width: 24px;
      height: 24px;
      font-size: 10px;
    }
    @keyframes slideContinuous {
      0%, 10% { transform: translateY(0); }
      16%, 26% { transform: translateY(-38px); }
      33%, 43% { transform: translateY(-76px); }
      50%, 60% { transform: translateY(-114px); }
      66%, 76% { transform: translateY(-152px); }
      83%, 93% { transform: translateY(-190px); }
      100% { transform: translateY(0); }
    }
    .login-box .footer-links {
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }
    .login-box .footer-links .divider-line {
      display: none;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    * {
      animation: none !important;
      transition: none !important;
    }
  }
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #212529 !important;
    transition: background-color 9999s ease-in-out 0s;
}
