/* Modern Login Page Styles */
:root {
    --primary-gradient: linear-gradient(135deg, #2E3192 0%, #1BFFFF 100%);
    --secondary-gradient: linear-gradient(135deg, #D4145A 0%, #FBB03B 100%);
    --surface-color: rgba(255, 255, 255, 0.95);
    --text-primary: #2D3748;
    --text-secondary: #718096;
    --input-border: #E2E8F0;
    --input-focus: #4299E1;
    --button-primary: #4299E1;
    --button-hover: #2B6CB0;
  }
  
  body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #0F172A;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
  }
  
  /* Futuristic Background */
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 20px 20px,
      linear-gradient(0deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 20px 20px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
  }
  
  @keyframes gridMove {
    0% {
      transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    100% {
      transform: perspective(500px) rotateX(60deg) translateY(20px);
    }
  }
  
  /* Animated Lines */
  .lines {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: transparent;
    overflow: hidden;
    pointer-events: none;
  }
  
  .lines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 150vw;
    height: 150vh;
    background: repeating-linear-gradient(
      transparent 0%,
      rgba(255, 255, 255, 0.05) 0.5%,
      transparent 1%
    );
    transform-origin: 50% 0;
    animation: waveRotate 20s linear infinite;
  }
  
  @keyframes waveRotate {
    0% {
      transform: translateX(-50%) rotate(0deg);
    }
    100% {
      transform: translateX(-50%) rotate(360deg);
    }
  }
  
  /* Glowing Orbs */
  .orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
  }
  
  .orb-1 {
    top: -200px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary-gradient);
    opacity: 0.3;
    animation: orbFloat 15s ease-in-out infinite;
  }
  
  .orb-2 {
    bottom: -150px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--secondary-gradient);
    opacity: 0.2;
    animation: orbFloat 20s ease-in-out infinite reverse;
  }
  
  @keyframes orbFloat {
    0%, 100% {
      transform: translate(0, 0);
    }
    50% {
      transform: translate(30px, -30px);
    }
  }
  
  .login-container {
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
  }
  
  .login-card {
    background: var(--surface-color);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 
      0 25px 50px -12px rgba(0, 0, 0, 0.25),
      0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
  }
  
  .login-left {
    flex: 1;
    padding: 48px;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  
  .login-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      linear-gradient(45deg, transparent 48%, rgba(255,255,255,.1) 50%, transparent 52%) 0 0 / 20px 20px,
      linear-gradient(-45deg, transparent 48%, rgba(255,255,255,.1) 50%, transparent 52%) 0 0 / 20px 20px;
    animation: patternMove 20s linear infinite;
  }
  
  @keyframes patternMove {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: 40px 40px;
    }
  }
  
  .login-left h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    position: relative;
  }
  
  .login-left p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0 0 2rem 0;
    line-height: 1.6;
    position: relative;
  }
  
  .powered-by {
    font-size: 0.875rem !important;
    opacity: 0.8 !important;
    margin: -0.5rem 0 1rem 0 !important;
    font-weight: 500;
  }
  
  .features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
  }
  
  .features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
  }
  
  .features-list li svg {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    flex-shrink: 0;
  }
  
  .login-right {
    flex: 1;
    padding: 48px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
  }
  
  .login-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .login-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }
  
  .login-header h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
  }
  
  .login-header p {
    color: var(--text-secondary);
    margin: 0;
  }
  
  .login-form {
    max-width: 320px;
    margin: 0 auto;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
  }
  
  .form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
  }
  
  .form-group input:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
  }
  
  .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
  }
  
  .remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
  }
  
  .forgot-password {
    color: var(--button-primary);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
  }
  
  .forgot-password:hover {
    color: var(--button-hover);
  }
  
  .login-button {
    width: 100%;
    padding: 0.875rem;
    background: var(--button-primary);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
  }
  
  .login-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
    );
    transition: 0.5s;
  }
  
  .login-button:hover {
    background: var(--button-hover);
    transform: translateY(-1px);
  }
  
  .login-button:hover::before {
    left: 100%;
  }
  
  .login-button:active {
    transform: translateY(0);
  }
  
  .login-footer {
    text-align: center;
    margin-top: 2rem;
  }
  
  .login-footer p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
  }
  
  .login-footer a {
    color: var(--button-primary);
    text-decoration: none;
    font-weight: 500;
  }
  
  .login-footer a:hover {
    color: var(--button-hover);
  }
  
  .social-login {
    margin-top: 2rem;
    text-align: center;
  }
  
  .social-login p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0 0 1rem 0;
    position: relative;
  }
  

  .social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
  }
  #logoft {
    width: 4%;
    margin-top: 5px; /* Adjust value as needed */
}
.error-message {
    color: #ff4d4d;
    margin-bottom: 2vh;
    font-size: 14px;
}
  .powered-by {
    font-size: 0.875rem !important;
    opacity: 0.8 !important;
    margin: -0.5rem 0 1rem 0 !important;
    font-weight: 500;
}
  .social-button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.9);
  }
  
  .social-button:hover {
    background: #F7FAFC;
    transform: translateY(-1px);
  }
  
  .social-button svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
  }
  
  .copyright-footer {
    text-align: center;
    margin-top:1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
  }
  
  /* Mobile Responsiveness */
  @media (max-width: 768px) {
    body {
      align-items: flex-start;
      padding: 1rem 0;
    }
  
    .login-container {
      margin: 0;
      min-height: calc(100vh - 2rem);
      display: flex;
      flex-direction: column;
    }
  
    .login-card {
      flex-direction: column;
      margin-bottom: 1rem;
    }
  
    .login-left,
    .login-right {
      padding: 1.5rem;
      width: 100%;
      box-sizing: border-box;
    }
  
    .login-left {
      text-align: center;
      padding: 1.5rem;
    }
  
    .login-left h1 {
      font-size: 1.5rem;
      margin-bottom: 0.5rem;
    }
  
    .login-left p {
      font-size: 0.875rem;
      margin-bottom: 1rem;
    }
  
    .powered-by {
      font-size: 0.75rem !important;
      margin: 0 0 0.5rem 0 !important;
    }
  
    .features-list {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      justify-content: center;
    }
  
    .features-list li {
      font-size: 0.875rem;
      margin-bottom: 0;
      width: auto;
      padding: 0.25rem 0.75rem;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 999px;
    }
  
    .features-list li svg {
      width: 16px;
      height: 16px;
      margin-right: 6px;
    }
  
    .login-form {
      max-width: 100%;
    }
  
    .form-options {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
    }
  
    .social-buttons {
      flex-wrap: wrap;
    }
  
    .copyright-footer {
      margin-top: auto;
      padding-bottom: 1rem;
    }
  
    .orb-1 {
      width: 200px;
      height: 200px;
    }
  
    .orb-2 {
      width: 150px;
      height: 150px;
    }
  }
  
  /* Small screens */
  @media (max-width: 480px) {
    .login-header h2 {
      font-size: 1.25rem;
    }
  }     @-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}
 
@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}.cube {
    position: relative;
    top: -11px;
    width: 30px; /* Keep the smaller size */
    height: 30px;
    transform-style: preserve-3d;
    animation: rotate 6s linear infinite;
}
   
    .cube > div {
    position: absolute;
    width: 30px; /* Smaller width */
    height: 30px; /* Smaller height */
    opacity: 0.9;
    background: linear-gradient(to right, #09adc8, #001f4e);
    }
  
    .s1 {
    transform: translateZ(15px); /* Half of the new width/height */
    }
   
    .s2 {
    transform: rotateY(90deg) translateZ(15px); /* Half of the new width/height */
    }
   
    .s3 {
    transform: rotateY(180deg) translateZ(15px); /* Half of the new width/height */
    }
   
    .s4 {
    transform: rotateX(90deg) translateZ(15px); /* Half of the new width/height */
    }
   
    .s5 {
    transform: rotateY(-90deg) translateZ(15px); /* Half of the new width/height */
    }
   
    .s6 {
    transform: rotateX(-90deg) translateZ(15px) rotate(180deg); /* Half of the new width/height */
    }
   
    @keyframes rotate {
    100% {
    transform: rotateX(0deg) rotateY(360deg) rotateZ(360deg);
    }
    }
    #logoft {
        width: 4%;
        margin-top: 5px; /* Adjust value as needed */
    }
   