body {
    background-color: #0d0d0d;
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: white;
    background-color: #f1f2f2;
    background: var(--bg-color);
    color: var(--text-color);
    transition: background 0.3s, color 0.3s;
  }

  .logo-container{
    color:var(--input-color);
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 20px;
    font-weight: 700;
    height:40px;
    margin-top: 20px;
    width:100%;
    gap:5px;
    padding-bottom: 10px;
  }
  .image-text{
    position: absolute;top: 0;left: 0;width: 100%;height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
  }

  .login-container {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    background: var(--login-container-color);
    
  }

  .login-container h1 {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .oauth-btn {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2a2a2a;
    background-color: var(--input-back-color);
    color: var(--input-color);
    cursor: pointer;
  }

  .oauth-btn img {
    width: 20px;
    margin-right: 10px;
  }

  .divider {
    text-align: center;
    margin: 1rem 0;
    position: relative;
  }

  .divider::before, .divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #444;
  }

  .divider::before {
    left: 0;
  }

  .divider::after {
    right: 0;
  }

  .divider span {
    color: #999;
    font-size: 0.9rem;
  }

  input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 5px;
    background: var(--input-back-color);
    color: grey;
  }

  .forgot-password {
    font-size: 0.85rem;
    color: white;
    color: grey;
    text-align: right;
    margin-bottom: 1.5rem;
    cursor: pointer;
  }
  .forgot-password a{

    color:var(--input-color);
  }

  .login-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: black;
    color:white;
    font-weight: bold;
    cursor: pointer;
  }

  .signup {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: grey;
  }

  .signup a {
    color:var(--input-color);
    text-decoration: none;
  }

  .input-error {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 4px;
    margin-bottom: 8px;
    display: none;
  }


  :root {
    --bg-color:   #121212;
    --text-color: #0d0d0d;
    --login-container-color:rgb(26, 26, 26);
    --input-back-color:rgb(42, 42, 42);
    --input-color:white;
    --style-text-color:#ff4800;

  }
  
  [data-theme="dark"] {
    --bg-color: #ffffff;
    --text-color: #121212;
    --login-container-color:#f1f2f2;
    --input-back-color:white;
    --input-color:#a7a9ac;
    --style-text-color:#ff4800;
    
  }
  .theme-switch {
    gap: 0.5rem;
    cursor: pointer;
    width:30px;
    height:30px;
    margin-top: -10px;
    
  }
  .theme-switch input {
    display: none;
  }
  .theme-switch .icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    display: none;
  }
  
  .theme-switch input:checked ~ .moon {
    display: inline;
  }
  
  .theme-switch input:not(:checked) ~ .sun {
    display: inline;
    color: var(--style-text-color);
  }