* {
      box-sizing: border-box;
      margin: 0;
      font-family: 'Inter', sans-serif;
      
    }
    body,html {
      background-color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      overflow-y: auto;
    }
    .container {
        width: 839px;
    min-height: 313px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1px;
    display: flex;
}
    .left {
      flex: 1;
      position: relative;
      padding: 61px;
    }
    .left h1 {
      font-size: 48px;
      font-weight: 700;
      color: #000;
    }
   .left img {
    width: 102%;
    max-width: 468px;
    position: absolute;
    bottom: 1px;
    left: -11px;
}
   .right {
    flex: 1;
    background-color: #fff;
    border-radius: 56px 0 0 -3px;
    padding: 42px;
    display: flex
;
    flex-direction: column;
    justify-content: center;
}
    form {
  flex-grow: 1;
}
    .right h2 {
      margin-bottom: 20px;
      font-size: 24px;
    }

    .server-message {
  color: rgb(89, 50, 50);
  font-weight: bold;
  background-color: #ffe5e5;
  padding: 10px;
  border-radius: 5px;
}
    .social-btns {
      display: flex;
      gap: 10px;
      margin-bottom: 15px;
    }
    .social-btns button {
      flex: 1;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 5px;
      background-color: #fff;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .divider {
      text-align: center;
      margin: 10px 0;
      color: #999;
    }
    /* Google Sign Up Button Styling */
a[href="/auth/google"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px solid #dadce0;
    border-radius: 4px;
    text-decoration: none;
    color: #3c4043;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    min-width: 180px;
    margin-left: 91px;
}

a[href="/auth/google"]:hover {
    background: #f8f9fa;
    border-color: #c6c6c6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

a[href="/auth/google"]:active {
    background: #f1f3f4;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Google logo styling */
a[href="/auth/google"] img {
    width: 16px;
    height: 16px;
    margin: 0;
    vertical-align: middle;
}

/* Alternative styling if you want to use CSS for the Google logo instead of image */
.google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px solid #dadce0;
    border-radius: 4px;
    text-decoration: none;
    color: #3c4043;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    min-width: 180px;
}

.google-btn:hover {
    background: #f8f9fa;
    border-color: #c6c6c6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.google-btn:active {
    background: #f1f3f4;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* CSS-only Google logo */
.google-logo {
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285f4' d='M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z'/%3E%3Cpath fill='%2334a853' d='M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z'/%3E%3Cpath fill='%23fbbc05' d='M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z'/%3E%3Cpath fill='%23ea4335' d='M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        width: 100%;
        max-width: 400px;
        flex-direction: column;
        background: none;
        border-radius: 0;
        min-height: auto;
    }
    
    .left {
        display: none;
    }
    
    .right {
        border-radius: 24px;
        margin: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 40px 30px;
    }
    
    .lang {
        position: static;
        text-align: center;
        margin-bottom: 20px;
        color: #666;
    }
    
    a[href="/auth/google"],
    .google-btn {
        margin-left: 0;
        width: 100%;
        min-width: auto;
        padding: 12px 16px;
        justify-content: center;
    }
    
    form input {
        padding: 14px 10px;
        font-size: 16px;
        border-radius: 8px;
        border: 1.5px solid #e5e7eb;
        border-bottom: 1.5px solid #e5e7eb;
        background: #f9fafb;
        margin: 10px 0;
    }
    
    form input:focus {
        border-color: #667eea;
        background: white;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }
    
    .submit-btn {
        padding: 16px;
        font-size: 16px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    body {
        background: #f8f9fa;
        padding: 10px;
    }
    
    .container {
        margin: 0;
    }
    
    .right {
        margin: 10px;
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .lang {
        font-size: 11px;
        margin-bottom: 15px;
    }
    
    a[href="/auth/google"],
    .google-btn {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    form input {
        padding: 12px 8px;
        margin: 8px 0;
    }
    
    .password-input-group input {
        padding-right: 35px;
    }
    
    .password-toggle {
        right: 8px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 14px;
        margin-top: 15px;
    }
    
    .login-link {
        font-size: 13px;
        margin-top: 15px;
    }
    
    .divider {
        margin: 15px 0;
        font-size: 12px;
    }
    
    .server-message {
        padding: 8px;
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .error-message {
        font-size: 11px;
    }
}

@media (max-width: 320px) {
    .right {
        margin: 5px;
        padding: 25px 15px;
    }
    
    form input {
        padding: 10px 6px;
    }
    
    .password-input-group input {
        padding-right: 30px;
    }
    
    .password-toggle {
        right: 6px;
        font-size: 13px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 15px;
    }
    
    a[href="/auth/google"],
    .google-btn {
        padding: 12px 14px;
        font-size: 15px;
    }
}
    form input {
      width: 100%;
      padding: 10px;
      margin: 8px 0;
      border: none;
      border-bottom: 1px solid #ccc;
    }
    form input:focus {
      outline: none;
      border-bottom: 1px solid #667eea;
    }
    .submit-btn {
      width: 100%;
      background: linear-gradient(135deg, #667eea, #764ba2);
      padding: 12px;
      color: white;
      font-weight: 600;
      border: none;
      border-radius: 6px;
      margin-top: 15px;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    .submit-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }
    .login-link {
      margin-top: 10px;
      text-align: center;
      font-size: 14px;
      padding-bottom: 10px;
    }
    .login-link a {
      color: #667eea;
      text-decoration: none;
    }
    .lang {
      position: absolute;
      top: 20px;
      right: 30px;
      font-size: 12px;
      color: #888;
    }
    .error-message {
      color: red;
      font-size: 0.75rem;
      display:none ;
    }

    .password-input-group {
      position: relative;
      width: 100%;
    }

    .password-input-group input {
      width: 100%;
      padding-right: 40px;
    }

    .password-toggle {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      user-select: none;
      font-size: 16px;
      color: #666;
      transition: color 0.3s ease;
    }

    .password-toggle:hover {
      color: #667eea;
    }