@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: Poppins;
    }

    body, html {
      height: 100%;
    }

    body {
      background-image: radial-gradient(circle at 52% 84%, rgba(194, 194, 194,0.06) 0%, rgba(194, 194, 194,0.06) 18%,transparent 18%, transparent 100%),radial-gradient(circle at 38% 97%, rgba(239, 239, 239,0.06) 0%, rgba(239, 239, 239,0.06) 20%,transparent 20%, transparent 100%),radial-gradient(circle at 86% 17%, rgba(210, 210, 210,0.06) 0%, rgba(210, 210, 210,0.06) 61%,transparent 61%, transparent 100%),radial-gradient(circle at 6% 48%, rgba(91, 91, 91,0.06) 0%, rgba(91, 91, 91,0.06) 27%,transparent 27%, transparent 100%),radial-gradient(circle at 27% 63%, rgba(86, 86, 86,0.06) 0%, rgba(86, 86, 86,0.06) 30%,transparent 30%, transparent 100%),radial-gradient(circle at 2% 91%, rgba(182, 182, 182,0.06) 0%, rgba(182, 182, 182,0.06) 29%,transparent 29%, transparent 100%),linear-gradient(290deg, rgb(255, 146, 210),rgb(255, 0, 0));
      /* background: linear-gradient(135deg, #ff0000, #fb9f00); */
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
    }

    .container {
      width: 90%;
      max-width: 1000px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 100px;
    }

    .logo-panel {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .logo-panel img {
      max-width: 100%;
      height: auto;
    }

    .logo-panel h1 {
      font-size: 64px;
      color: white;
      letter-spacing: 5px;
      text-align: center;
      line-height: 1.2;
    }

    .form-panel {
      flex: 1;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      padding: 40px;
      border-radius: 20px;
      color: white;
      position: relative;
      box-shadow: 0 8px 32px 0 rgba(56, 56, 56, 0.37);
      border: 1px solid rgba(255, 255, 255, 0.18);
    }

    .form-panel h2 {
      text-align: center;
      margin-bottom: 30px;
      font-size: 28px;
      font-weight: 700;
    }

    .toggle-buttons {
      display: flex;
      justify-content: center;
      margin-bottom: 30px;
      position: relative;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 30px;
      overflow: hidden;
      width: 60%;
      margin-left: 20%;
    }

    .toggle-buttons button {
      flex: 1;
      padding: 12px 20px;
      border: none;
      background: transparent;
      color: white;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      position: relative;
      z-index: 2;
      transition: color 0.3s ease;
    }


    .form-group {
      margin-bottom: 20px;
      position: relative;
    }

    input {
      width: 100%;
      padding: 15px 20px;
      border-radius: 30px;
      border: none;
      outline: none;
      font-size: 16px;
      background: rgba(255, 255, 255, 0.9);
      transition: background 0.3s ease;
    }

    input:focus {
      background: rgba(255, 255, 255, 1);
      box-shadow: 0 0 10px rgba(166, 0, 0, 0.3);
    }

    .password-group {
      position: relative;
    }

    .password-group input {
      padding-right: 50px;
    }

    .toggle-visibility {
      position: absolute;
      right: 15px;
      top: 50%;
      transform: translateY(-50%);
      width: 20px;
      height: 20px;
      cursor: pointer;
      opacity: 0.6;
      transition: opacity 0.3s ease;
    }

    .toggle-visibility:hover {
      opacity: 1;
    }

    .login-btn {
      background-color: #ed0018;
      color: white;
      border: none;
      padding: 15px;
      border-radius: 30px;
      font-size: 18px;
      font-weight: 600;
      width: 100%;
      cursor: pointer;
      margin-top: 20px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .login-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(166, 0, 0, 0.4);
    }

    .register-link {
      text-align: center;
      margin-top: 15px;
      font-size: 14px;
    }

    .register-link a {
      color: #0062ff;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s ease;
    }

    .register-link a:hover {
      color: #002fff;
    }

    .error-message {
      background: linear-gradient(135deg, #ff4444, #cc0000);
      color: white;
      padding: 12px;
      border-radius: 10px;
      margin-bottom: 20px;
      text-align: center;
      font-weight: 500;
      box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
    }

    .success-message {
      background: linear-gradient(135deg, #44ff44, #00cc00);
      color: #000;
      padding: 12px;
      border-radius: 10px;
      margin-bottom: 20px;
      text-align: center;
      font-weight: 600;
      box-shadow: 0 4px 15px rgba(68, 255, 68, 0.3);
    }


    #forgotPasswordForm{
      width: 500px;
      height: 300px;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }

    #forgotPasswordForm .form-group{
      width: 400px;
    }


    #forgotPasswordForm h3{
      font-size: 24px;
      text-align: center; 
      margin-bottom: 20px;
    }

    #forgotPasswordForm .reset-btn {
      background-color: #ed0018;
      color: white;
      border: none;
      padding: 15px;
      border-radius: 30px;
      font-size: 18px;
      font-weight: 600;
      width: 80%;
      height: 50px;
      cursor: pointer;
      margin-top: 20px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      display: flex;
      justify-content: center;
      align-items: center;
      justify-self: center;
    }

    #forgotPasswordForm .reset-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(166, 0, 0, 0.4);
    }

    #forgotPasswordForm .back-btn, #resetPasswordForm .back-btn{
      color: black;
      background-color: #ffffff;
      border: none;
      padding: 15px;
      border-radius: 30px;
      font-size: 18px;
      font-weight: 600;
      width: 80%;
      height: 50px;
      cursor: pointer;
      margin-top: 10px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      display: flex;
      justify-content: center;
      align-items: center;
      justify-self: center;
    }

    #forgotPasswordForm .back-btn:hover, #resetPasswordForm .back-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(85, 85, 85, 0.4);
    }


    /* Forgot Password Link */
    .forgot-password-link {
      text-align: right;
      margin-top: -10px;
      margin-bottom: 10px;
    }

    .forgot-password-link a {
      color: rgba(255, 255, 255, 0.7);
      text-decoration: none;
      font-weight: 500;
      font-size: 12px;
      transition: color 0.3s ease;
    }

    .forgot-password-link a:hover {
      color: rgba(255, 255, 255, 0.9);
      text-decoration: underline;
    }

    /* Google Login Section - Redesigned */
    .google-login-section {
      margin-top: 25px;
      text-align: center;
    }

    .divider {
      display: flex;
      align-items: center;
      margin: 20px 0;
    }

    .divider::before,
    .divider::after {
      content: "";
      flex: 1;
      border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .divider span {
      padding: 0 15px;
      color: rgba(255, 255, 255, 0.8);
      font-size: 14px;
    }

    .google-login-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      width: 100%;
      padding: 15px 20px;
      background: rgba(255, 255, 255, 0.95);
      color: #333;
      text-decoration: none;
      border-radius: 30px;
      font-weight: 600;
      font-size: 16px;
      border: 2px solid transparent;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .google-login-btn::before {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
      );
      transition: left 0.5s;
    }

    .google-login-btn:hover {
      background: white;
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .google-login-btn:hover::before {
      left: 100%;
    }

    .google-login-btn:active {
      transform: translateY(0);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .google-icon {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
    }


    @media (max-width: 768px){
      .container {
        flex-direction: column;
        gap: 30px;
        margin: 0;
        padding: 0;
        height: 600px;
      }

      .logo-panel{
        margin-top: 0;
        padding: 0;
      }

      .logo-panel img{
        width: 200px;
        height: auto;
      }
      
      .form-panel {
        width: 350px;
        height: auto;
        padding-top: 20px;
        padding-bottom: 20px;
        margin-bottom: 50px;
      }

      .form-panel h2{
        font-size: 20px;
      }

      .form-group input{
        height: 40px;
        font-size: 12px;
      }

      .register-link{
        font-size: 12px;
      }

      .forgot-password-link a{
        font-size: 10px;
      }

      .login-btn{
        height: 40px;
        padding: 0;
        font-size: 12px;
      }

      .google-login-section{
        margin-top: 10px;
        padding-top: 0;
      }

      .divider{
        margin-top: 0;
      }

      .google-login-btn{
        position: relative;
        height: 40px;
        margin-top: 0;
        font-size: 12px;
        padding: 0;
        top: -10px;
      }

      #forgotPasswordForm{
        flex-direction: column;
        margin-top: 5px;
        width: 100%;
        height: 250px;
        justify-self: center;
        align-self: center;
      }

      #forgotPasswordForm h3{
        font-size: 20px;
      }

      #forgotPasswordForm .form-group{
        width: 220px;
        height: 40px;
        font-size: 12px;
      }

      #forgotPasswordForm .reset-btn{
        display: flex;
        justify-self: center;
        align-items: center;
        width: 80%;
        height: 40px;
        font-size: 12px;
      }

      #forgotPasswordForm .back-btn, #resetPasswordForm .back-btn{
        display: flex;
        justify-self: center;
        align-items: center;
        width: 80%;
        height: 40px;
        font-size: 12px;
      }

    }
      