body {
    font-family: 'Poppins', sans-serif;
    background: url('../../images/lian.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center; justify-content: center;
    margin: 0; padding: 20px;
    position: relative;
  }

  body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
    backdrop-filter: blur(5px);
    z-index: 0;
  }

  .container {
    position: relative; z-index: 1;
    width: 100%;
    max-width: 900px;
  }

  .card {
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    box-shadow: 0 0 40px rgba(0,0,0,0.3);
    display: flex; flex-direction: row;
    overflow: hidden;
  }

  /* Left side styling */
  .left-side {
    flex:1; padding:40px;
    background: linear-gradient(135deg, rgba(33,150,243,0.95), rgba(33,150,243,0.85));
    color: white;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    position: relative;
  }
  .left-side::before {
    content: ''; position: absolute; top: 0; left:0; right:0; bottom:0;
    background: linear-gradient(45deg, rgba(33,150,243,0.4), rgba(33,150,243,0.2));
    z-index:1;
  }
  .left-content {
    position: relative; z-index:2; text-align: center;
  }
  .logo-img {
    width: 100px; height: 100px; object-fit: contain; margin-bottom:20px; border-radius:50%; background:#fff; padding:10px; box-shadow:0 4px 8px rgba(0,0,0,0.1);
  }
  .brand-title {
    font-size: 24px; font-weight: 600; margin-bottom:10px;
  }
  .brand-desc {
    font-size: 14px; opacity:0.9; line-height:1.6;
  }

  /* Right side styling */
  .right-side {
    flex:1; padding:40px; position: relative;
  }
  /* Back button */
  .back-btn {
    position: absolute; top: -20px; left: -20px; z-index:3; background:#fff; padding:8px 12px; border-radius:8px; box-shadow:0 2px 4px rgba(0,0,0,0.2); display:flex; align-items:center; gap:8px; font-size:14px; text-decoration:none; color:#333;
  }
  .back-btn:hover {
    background:#f0f0f0;
  }

  /* Header styles */
  .header {
    margin-bottom:30px; text-align:center;
  }
  .header h1 {
    font-size:28px; margin-bottom:8px; color:#333;
  }
  .header p {
    font-size:15px; color:#666;
  }

  /* Form styles */
  form {
    max-width: 100%;
  }
  .form-floating {
    margin-bottom:20px;
  }
  .form-control {
    border-radius:8px; border:1.5px solid #e0e0e0; padding:12px 16px 0; height:50px; font-size:15px; transition: all 0.2s ease;
  }
  .form-control:focus {
    border-color:#2196F3; box-shadow:0 0 0 3px rgba(33,150,243,0.1);
  }
  label {
    padding:12px 16px; color:#666;
  }

  /* Buttons */
  .btn {
    width:100%; height:48px; background:#2196F3; border:none; border-radius:8px; color:#fff; font-size:16px; font-weight:500; display:flex; align-items:center; justify-content:center; gap:8px; transition: all 0.2s ease;
  }
  .btn:hover {
    background:#1976D2; transform:translateY(-1px);
  }

  /* Alert styles */
  .alert {
    border-radius:8px; font-size:14px; padding:12px 16px; margin-bottom:20px; border:none;
  }
  .alert-success {
    background-color:#dcfce7; color:#16a34a;
  }
  .alert-danger {
    background-color:#fee2e2; color:#dc2626;
  }

  /* Responsive adjustments */
  @media(max-width:768px){
    .card {
      flex-direction:column;
    }
    .left-side {
      display: none;
    }
    .right-side {
      padding:30px;
    }
    .back-btn {
      top:20px; left:20px;
    }
  }



/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.1s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 0.8rem;
    animation: pulse 0.5s infinite;
}