* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* background: #f8f9fa; */
    background-color: var(--body-bg);
  }

  :root {
    --body-bg: antiquewhite;
    --primary-color: white;
    --card-text: #191970;
    --h2-color: #333;
    --icon-color: black;
    --left-section: antiquewhite;
    --left-gradient: white;
    --right-section: white;
    --section-color: #333;
    --subtitle-color: #666;
    --label-color: #555;
    --login-link-color: black;
  }
  
  html .dark {
    --body-bg: black;
    --primary-color: rgb(41, 40, 40);
    --card-text: yellow;
    --h2-color: rgb(255, 187, 52);
    --icon-color: white;
    --left-section: #3e3628;
    --left-gradient: navy;
    --right-section: #3e3628;
    --section-color: white;
    --subtitle-color: yellow;
    --label-color: white;
    --login-link-color: aqua;
  }

  .back-button{
    position: absolute;
    background-color: transparent;
    border: none;
    font-size: 30px;
    margin-right: 90%;
    margin-bottom: 40%;
    color: white;
    cursor: pointer;
  }
  
.theme-converter{
  position: absolute;
  margin-left: 80%;
  margin-top: -5%;
  margin-bottom: 1%;
  background-color: var(--body-bg);
  color: var(--body-bg) ;
  }
  
  .container {
    display: flex;
    width: 80%;
    max-width: 1200px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: fadeIn 1s ease-in-out;
  }
  
  .left-section {
    flex: 1;
    /* background: linear-gradient(to bottom right, #ffb347, #ffcc33); */
    background: var(--left-section);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* color: #fff; */
    color: var(--section-color);
    text-align: center;
    padding: 40px;
    animation: slideInLeft 1s ease-in-out;
  }
  
  .logo img {
    width: 100px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
  }
  
  @media (max-width: 768px) {
    .container {
      flex-direction: column;
      width: 90%;
      box-shadow: none; /* Remove shadow from the entire box */
    }
  
    .left-section {
      width: 100%;
      padding: 20px;
      box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15); /* Apply shadow only here */
      border-radius: 15px 15px 0 0; /* Rounded corners only at the top */
    }
  
    .right-section {
      width: 100%;
      padding: 20px;
      background: var(--right-section);
      border-radius: 0 0 15px 15px; /* Rounded corners at the bottom */
    }
  
    .theme-converter {
      position: absolute;
      top: 10px;
      right: 10px;
      background: var(--left-section); /* Matches the left section */
      color: var(--icon-color);
      padding: 8px 12px;
      border-radius: 5px;
      cursor: pointer;
    }
  
    .back-button {
      font-size: 24px;
      position: absolute;
      top: 10px;
      left: 10px;
    }
  }
  
  
  .logo h2 {
    font-size: 32px;
    margin-bottom: 10px;
  }
  
  .logo p {
    font-size: 18px;
    font-weight: 300;
  }
  
  .right-section {background: var(--right-section);
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: slideInRight 1s ease-in-out;
  }
  
  .right-section h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--section-color);
  }
  
  .subtitle {
    font-size: 16px;
    color: var(--subtitle-color);
    margin-bottom: 20px;
  }
  
  .login-form .input-group {
    margin-bottom: 20px;
  }
  
  .login-form .input-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--label-color);
  }

  .checkbox-group label, .register-link{
    color: var(--label-color);
  }
  
  .login-form .input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s;
  }
  
  .login-form .input-group input:focus {
    outline: none;
    border-color: #ffb347;
    box-shadow: 0 0 8px rgba(255, 179, 71, 0.5);
  }
  
  .checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .checkbox-group input {
    margin-right: 10px;
  }
  
  .login-btn {
    width: 100%;
    padding: 12px;
    background: #ffb347;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
  }
  
  .login-btn:hover {
    background: #ffcc33;
  }
  
  .register-link {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
  }
  
  .register-link a {
    color: #ff5733;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
  }
  
  .register-link a:hover {
    color: #ffcc33;
  }
  
  .social-login {
    margin-top: 20px;
    text-align: center;
  }
  
  .social-btn {
    width: 100%;
    padding: 12px;
    background: #3b5998;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
  }
  
  .social-btn:hover {
    background: #2d4373;
  }
  
  .social-btn i {
    margin-right: 10px;
  }
  
  /* Animations */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes slideInLeft {
    from {
      transform: translateX(-100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes slideInRight {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }
  