#login-sec, #register-sec { background: #eeeeee; padding: 1.5rem 0 2.5rem; }
.auth-shell { width: min(560px, calc(100% - 2rem)); margin: 0 auto; }
.auth-header { margin-top: .35rem; margin-bottom: 1rem; }
.auth-kicker { margin: 0 0 .35rem; color: #008a33; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.auth-header h1 { margin: 0; color: #111111; font-family: "Plus Jakarta Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.08; }
.auth-intro { margin: .55rem 0 0; color: #666666; font-size: 1rem; line-height: 1.55; }
.auth-message { margin: 0 0 1rem; padding: .9rem 1rem; border-radius: 12px; border: 1px solid #cdcdcd; background: #ffffff; color: #333333; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08); }
.auth-message-success { border-color: #b7ddb8; background: #f5fbf6; color: #0a4f24; }
.auth-message-error { border-color: #f3b6b8; background: #fff5f5; color: #9b1b1b; }
.auth-card { display: flex; flex-direction: column; align-items: stretch; padding: 1.25rem; border: 1px solid #cdcdcd; border-radius: 12px; background: #ffffff; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); }
.auth-google-button { display: block; width: min(100%, 250px); margin: 0 auto; padding: 0; box-sizing: border-box; border: 0; text-decoration: none; background: transparent; line-height: 0; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.12)); }
.auth-google-button:hover { text-decoration: none; background: transparent; box-shadow: none; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.14)); }
.auth-google-button img { width: 100%; height: 100%; max-width: 200px; object-fit: contain; display: block; }
.auth-note { margin: .85rem 0 0; color: #666666; font-size: .85rem; line-height: 1.5; }
.auth-note-inline { text-align: center; }
.auth-divider { position: relative; margin: 1rem 0; width: min(100%, 400px); align-self: center; text-align: center; }
.auth-divider::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; border-top: 1px solid #cdcdcd; }
.auth-divider span { position: relative; z-index: 1; display: inline-block; padding: 0 .7rem; background: #ffffff; color: #777777; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.auth-form { display: grid; gap: 1rem; width: min(100%, 400px); margin: 0 auto; }
.auth-field label { display: block; margin: 0 0 .45rem; color: #333333; font-size: .95rem; font-weight: 700; }
.auth-field input { width: 100%; box-sizing: border-box; padding: .9rem 1rem; border: 1px solid #cdcdcd; border-radius: 12px; background: #fafafa; color: #333333; font: inherit; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.auth-field input:focus { outline: none; border-color: #008a33; background: #ffffff; box-shadow: 0 0 0 3px rgba(0, 138, 51, 0.12); }
.auth-field-note { display: block; min-height: 1.1em; margin-top: .45rem; color: #666666; font-size: .8rem; line-height: 1.4; }
.auth-actions { margin-top: .25rem; }
.auth-actions, .auth-support-card, .auth-links, .auth-footnote { width: min(100%, 400px); margin-left: auto; margin-right: auto; }
.auth-submit, .auth-secondary-button { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: .9rem 1.15rem; box-sizing: border-box; border: 0; border-radius: 20px; font: inherit; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease, opacity .15s ease; }
.auth-submit { background: #008a33; color: #ffffff; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); }
.auth-submit:hover { background: #0a4f24; color: #ffffff; }
.auth-secondary-button { border: 1px solid #cdcdcd; background: #ffffff; color: #008a33; }
.auth-secondary-button:hover { border-color: #008a33; background: #f5fbf6; color: #0a4f24; }
.auth-support-card { margin-top: 1rem; padding: 1rem; border: 1px solid #d9d2c0; border-radius: 12px; background: #fbf8ef; }
.auth-support-card p { margin: 0 0 .85rem; color: #444444; line-height: 1.55; }
.auth-inline-form { margin: 0; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1rem; margin-top: 1rem; margin-bottom: .15rem; }
.auth-link { color: #008a33; font-size: .92rem; font-weight: 700; text-decoration: none; }
.auth-link:hover { color: #0a4f24; text-decoration: underline; }
.auth-link-strong { color: #111111; }
.auth-page-login .auth-link-strong { margin-left: auto; }
.auth-page-register .auth-link-strong { margin-left: auto; }
.auth-footnote { margin: .9rem 0 0; color: #666666; font-size: .84rem; line-height: 1.55; text-align: center; }
.auth-footnote a { color: #008a33; font-weight: 700; text-decoration: none; }
.auth-footnote a:hover { color: #0a4f24; text-decoration: underline; }
.auth-hidden-fieldset { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.auth-hidden-fieldset input, .auth-hidden-fieldset label { width: 1px; height: 1px; }
@media screen and (max-width: 660px) {
  #login-sec, #register-sec {
    padding: 1rem 0 1.75rem;
  }
  .auth-shell {
    width: min(100%, calc(100% - 1rem));
  }
  .auth-header {
    margin-top: 1.2rem;
    margin-bottom: .85rem;
  }
  .auth-card {
    padding: 1rem 1rem 1.15rem;
  }
  .auth-google-button, .auth-divider, .auth-form, .auth-actions, .auth-support-card, .auth-links, .auth-footnote {
    width: 100%;
  }
  .auth-submit, .auth-secondary-button {
    width: 100%;
  }
  .auth-google-button {
    width: min(100%, 250px);
  }
  .auth-actions {
    margin-top: 1rem;
    margin-bottom: .55rem;
  }
  .auth-links {
    justify-content: space-between;
  }
}
