/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  /* Page Layout */
  body {
    height: 100vh;
    font-family: 'DM Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
  }

  #logo-background {
    position: fixed;
    top: -50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-size: 95%;
    background-position: center;
    background-repeat: repeat-y;
    width: 50%;
    height: 200%;
    z-index: 0;
    box-shadow: 0px -30px 180px 40px rgba(255,255,255,1) inset, 0px -30px 180px 30px rgba(255,255,255,0.9) inset, 0px -30px 40px 30px rgba(255,255,255,0.9) inset;
    -webkit-box-shadow: 0px -30px 180px 40px rgba(255,255,255,1) inset, 0px -30px 180px 30px rgba(255,255,255,0.9) inset, 0px -30px 40px 30px rgba(255,255,255,0.9) inset;
    -moz-box-shadow: 0px -30px 180px 40px rgba(255,255,255,1) inset, 0px -30px 180px 30px rgba(255,255,255,0.9) inset, 0px -30px 40px 30px rgba(255,255,255,0.9) inset;
  }
  
  /* Container */
  .login-container {
    width: 100%;
    max-width: 420px;
    padding: 0 40px;
    z-index: 100;
    margin-bottom: 138px;
  }
  

  /* Logo */
  .logo-section {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 16px;
  }
  
  .logo-icon {
    width: 48px;
    height: 48px;
    background-color: #8b5cf6;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
  }
  
  .logo-icon i {
    color: white;
    font-size: 20px;
  }
  
  .logo-title {
    font-family: 'Murecho', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #6941C6;
  }
  
  /* Headings */
  .heading-text {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
  }
  
  .login-instruction {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 32px;
  }
  
  /* Form Styling */
  .form-label {
    display: block;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    margin-bottom: 6px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .pin-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(213, 215, 218, 1);
    border-radius: 8px;
    font-size: 14px;
    background-color: rgba(255,255,255,1);
    transition: all 0.2s ease;
  }
  
  .pin-input:focus {
    outline: none;
    background: white;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
  }
  
  /* Button */
.signin-btn {
    width: 100%;
    padding: 14px 20px;
    background-color: #8b5cf6;
    color: white;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid; 
    border-image-source: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.25), inset 0 0 0 1px rgba(10, 13, 18, 0.18), 0 -2px 0px 0px rgba(10, 13, 18, 0.05);
}

.signin-btn:hover {
    background-color: #6941C6;
}

.signin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

  /* Spinner */
.loading-spinner {
    display: none;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

  /* Alerts */
.error-message,
.success-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
    text-align: center;
    font-weight: 500;
  }
  
  .error-message {
    background-color: #fee2e2;
    color: #b91c1c;
    display: none;
  }
  
  .success-message {
    background-color: #dcfce7;
    color: #15803d;
    display: none;
  }
  
  /* Animations */
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Responsive */
  @media (max-width: 480px) {
    .login-container {
      padding: 32px 20px;
    }
  }
  