/* C 版：清新自然企業風。與 login.aspx 放在同一層。 */
:root { color-scheme: light; --ink: #163e38; --green: #198653; --muted: #60736d; --line: #d5e2dc; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); font-family: "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif; background: #eff5ef; line-height: 1.65; }
#Form1 { min-height: 100vh; position: relative; overflow: hidden; background: radial-gradient(ellipse at 91% 12%, #d3e9b7 0, transparent 40%), radial-gradient(ellipse at 0 70%, #e0edd4 0, transparent 35%), linear-gradient(120deg, #f5faf8, #f9faf3 65%, #edf4e8); }
#Form1::before, #Form1::after { content: ""; position: absolute; pointer-events: none; width: 250px; height: 110px; border-radius: 100% 0 100% 0; background: linear-gradient(140deg, #8fb65666, #c9dfa333); transform: rotate(-28deg); }
#Form1::before { right: -85px; top: 30px; box-shadow: -130px 80px 0 #bad78b33, 30px 180px 0 #83af4c22; }
#Form1::after { left: -145px; bottom: 90px; transform: rotate(35deg); box-shadow: 40px -110px 0 #8fb65622; }
.attendance-shell { position: relative; z-index: 1; max-width: 1220px; margin: 0 auto; padding: 64px 48px 20px; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); column-gap: 64px; align-content: center; align-items: stretch; }
.brand-panel { padding: 20px 0; display: flex; flex-direction: column; }
h1 { font-size: clamp(27px, 3vw, 38px); line-height: 1.4; margin: 0 0 8px; letter-spacing: .03em; overflow-wrap: anywhere; }
h2 { font-size: 26px; font-weight: 500; margin: 0; color: #185e43; }
.brand-rule { width: 52px; height: 4px; background: var(--green); margin: 26px 0 34px; }
.brand-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.brand-features li { display: flex; align-items: center; gap: 24px; }
.feature-icon { color: #227350; font-size: 40px; line-height: 1; width: 50px; text-align: center; }
.brand-features h3 { font-size: 18px; font-weight: 600; margin: 0 0 3px; }
.brand-features p { margin: 0; color: var(--muted); }
.brand-tagline { margin-top: auto; padding-top: 64px; }
.brand-tagline p { margin: 0; letter-spacing: .12em; font-size: 18px; }
.brand-tagline span { font-size: 14px; letter-spacing: .05em; color: var(--muted); }
.login-card { min-width: 0; padding: 28px 32px; background: #ffffffed; border: 1px solid #e5ece5; border-radius: 16px; box-shadow: 0 12px 36px #284e3612, 0 2px 5px #284e3608; }
.login-image { text-align: center; margin-bottom: 22px; }
.login-image img { max-width: 100%; width: 190px; height: 130px; object-fit: contain; border-radius: 7px; }
.field-group { margin-bottom: 14px; }
.field-group > label { display: block; font-size: 14px; margin-bottom: 5px; font-weight: 600; }
.form-input { width: 100%; min-width: 0; height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 7px; box-shadow: inset 0 1px 2px #163e3803; }
.form-input:focus { border-color: var(--green); outline: 3px solid #19865326; }
.user-types { padding: 0; margin: 4px 0 16px; border: 0; min-width: 0; }
.user-types legend { font-size: 13px; color: var(--muted); margin-bottom: 3px; }
.role-options { width: 100%; border-collapse: collapse; }
.role-options td { padding: 0; white-space: nowrap; }
.role-options input { width: 18px; height: 18px; accent-color: var(--green); margin: 0 7px 0 0; vertical-align: middle; cursor: pointer; }
.role-options label { display: inline-block; padding: 9px 0; cursor: pointer; font-size: 16px; vertical-align: middle; }
.login-button { width: 100%; min-height: 50px; padding: 10px 20px; color: #fff; background: var(--green); border: 1px solid #147746; border-radius: 8px; font: inherit; font-size: 20px; font-weight: 600; letter-spacing: .18em; cursor: pointer; box-shadow: 0 4px 10px #19865319; }
.login-button:hover { background: #126f43; }
.login-button:focus-visible, summary:focus-visible, .role-options input:focus-visible { outline: 3px solid #276caa; outline-offset: 3px; }
.validation-message, .login-error { color: #a42424 !important; font-size: 14px; overflow-wrap: anywhere; }
.login-error { display: block; margin-top: 12px; padding: 10px 12px; background: #fff2f0; border-radius: 6px; }
.information-panel { margin-top: 20px; }
.notice { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 9px; background: #fff9df; color: #444531; font-size: 14px; }
.notice img { flex: 0 0 auto; width: 28px; height: auto; margin-top: 4px; }
.notice p { margin: 0; }
.help-note { color: var(--muted); font-size: 13px; margin: 12px 0 8px; }
.help-details { font-size: 13px; color: var(--muted); }
.help-details summary { color: #176748; cursor: pointer; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; }
.help-details p { margin: 8px 0; }
.help-details ul { padding-left: 20px; }
.page-footer { grid-column: 1 / -1; text-align: right; padding-top: 30px; color: var(--muted); font-size: 12px; }
@media (max-width: 1100px) and (min-width: 900px) { .attendance-shell { gap: 30px; padding: 40px 30px 20px; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); } .brand-features li { gap: 14px; } }
@media (max-width: 899px) { .attendance-shell { display: block; max-width: 560px; padding: 34px 20px 20px; } .brand-panel { display: block; text-align: center; padding: 0; } h1 { font-size: clamp(23px, 4.8vw, 32px); } h2 { font-size: 20px; } .brand-rule { margin: 18px auto 24px; width: 42px; height: 3px; } .brand-features, .brand-tagline { display: none; } .login-card { padding: 24px; border-radius: 13px; } .page-footer { text-align: center; padding-top: 20px; } }
@media (max-width: 380px) { .attendance-shell { padding: 28px 12px 16px; } .login-card { padding: 20px 16px; } .role-options label { font-size: 14px; } .role-options input { margin-right: 4px; } .notice { padding: 12px; gap: 8px; } }
