/* login.css - shared login and main app styles */
:root {
    --primary: #4caf50;
    --background: #f5f7fa;
    --surface: #fff;
    --text: #222;
    --tab-active: #e8f5e9;
    --tab-inactive: #f5f7fa;
    --border: #e0e0e0;
}
@media (prefers-color-scheme: dark) {
    :root {
        --primary: #81c784;
        --background: #181a1b;
        --surface: #23272a;
        --text: #f5f7fa;
        --tab-active: #263238;
        --tab-inactive: #181a1b;
        --border: #333;
    }
}
html, body {
    width: 100vw;
    min-width: 0;
    height: 100vh;
    min-height: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', Arial, sans-serif;
    background: var(--background);
}
body {
    width: 100vw;
    min-width: 0;
    height: 100vh;
    min-height: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: var(--background);
}
.container {
    max-width: 400px;
    margin: 60px auto;
    background: var(--surface);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 32px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.title {
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
    text-align: center;
    color: var(--primary);
}
#login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
#login-email {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    font-size: 1rem;
    background: var(--background);
    color: var(--text);
    outline: none;
    transition: border 0.2s;
}
#login-email:focus {
    border-color: var(--primary);
}
#login-form button {
    padding: 10px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
#login-form button:hover {
    background: #388e3c;
}
#auth-link-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 18px;
    width: 100%;
    position: relative;
    z-index: 1;
}
.auth-link-message {
  margin: 1em 0;
  padding: 1em 1.5em;
  border-radius: 8px;
  font-size: 1.05em;
  font-weight: 500;
  background: #f5f7fa;
  color: #222;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid #e0e4ea;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.auth-link-message.error {
  background: #ffeaea;
  color: #b71c1c;
  border-color: #ffcdd2;
}
.auth-link-message.info {
  background: #e3f2fd;
  color: #1565c0;
  border-color: #90caf9;
}
.auth-link-message.link {
  background: #e8f5e9;
  color: #2e7d32;
  border-color: #a5d6a7;
  font-size: 1.2em; /* Added */
}

/* Added new styles */
.auth-flex-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}


.center {
    text-align: center;
}
#google-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px;
    background: #fff;
    color: #222;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: background 0.2s, box-shadow 0.2s;
    margin-top: 18px;
}
#google-login:hover {
    background: #f5f7fa;
    box-shadow: 0 4px 16px rgba(66,133,244,0.08);
}
.google-logo {
    width: 22px;
    height: 22px;
    display: inline-block;
}
.google-btn-text {
    flex: 1;
    text-align: center;
    font-weight: 500;
    color: #222;
}
