* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f5f5f5; display: flex; justify-content: center; align-items: center; min-height: 100vh; }

.card, .container { background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); width: 100%; max-width: 400px; }
.container { max-width: 420px; }

h1 { text-align: center; margin-bottom: 1.2rem; color: #333; font-size: 1.5rem; }
p { color: #666; margin-bottom: 1rem; }

.form-group { margin-bottom: 1rem; }
label { display: block; margin-bottom: 0.25rem; color: #555; font-size: 0.875rem; }
input { width: 100%; padding: 0.75rem; border: 1px solid #ddd; border-radius: 4px; font-size: 1rem; }
input:focus { outline: none; border-color: #4a90d9; }

button { width: 100%; padding: 0.75rem; background: #4a90d9; color: white; border: none; border-radius: 4px; font-size: 1rem; cursor: pointer; margin-top: 0.5rem; }
button:hover { background: #357abd; }

.error { background: #fee; color: #c33; padding: 0.75rem; border-radius: 4px; margin-bottom: 1rem; font-size: 0.875rem; }
.message { background: #efe; color: #3a3; padding: 0.75rem; border-radius: 4px; margin-bottom: 1rem; font-size: 0.875rem; }
.link { text-align: center; margin-top: 1rem; }
.link a { color: #4a90d9; text-decoration: none; }
.description { text-align: center; color: #666; font-size: 0.875rem; margin-bottom: 1.5rem; }

.logo-row { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.logo-row img { height: 20px; margin-top: 4px; }
.site-name { font-size: 1.5rem; font-weight: 700; color: #333; }

.text-center { text-align: center; }

.divider { text-align: center; margin: 1.5rem 0; color: #999; font-size: 0.875rem; position: relative; }
.divider::before, .divider::after { content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: #ddd; }
.divider::before { left: 0; }
.divider::after { right: 0; }

.social-btns { display: flex; flex-direction: column; gap: 0.5rem; }
.social-btns a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; text-align: center; padding: 0.75rem; border-radius: 4px; text-decoration: none; font-size: 0.95rem; }
.social-btns a img { width: 20px; height: 20px; }
.google-btn { background: #ffffff; color: #333; border: 1px solid #ddd; }
.google-btn:hover { background: #f5f5f5; }
.microsoft-btn { background: #ffffff; color: #333; border: 1px solid #ddd; }
.microsoft-btn:hover { background: #f5f5f5; }
.line-btn { background: #06c755; color: white; }
.line-btn:hover { background: #05b346; }
.line-btn img { filter: brightness(0) invert(1); }

.scopes { background: #f9f9f9; padding: 1rem; border-radius: 4px; margin-bottom: 1.5rem; }
.scopes ul { list-style: none; padding: 0; }
.scopes li { padding: 0.25rem 0; color: #555; }
.scopes li::before { content: "✓ "; color: #4CAF50; }

.logged-in-user { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; background: #f0f4f8; border-radius: 8px; margin-bottom: 1rem; }
.user-name { font-weight: 600; color: #333; }
.auth-method { display: inline-flex; align-items: center; gap: 0.3rem; color: #666; font-size: 0.875rem; }
.auth-icon { width: 20px; height: 20px; }
.auth-label { white-space: nowrap; }

.actions { display: flex; gap: 0.5rem; }
.actions button { flex: 1; margin-top: 0; }
.approve { background: #4CAF50; color: white; }
.deny { background: #f44336; color: white; }
.actions button:hover { opacity: 0.9; }

.switch-user { display: block; text-align: center; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #eee; color: #4a90d9; text-decoration: none; font-size: 0.875rem; }
.switch-user:hover { text-decoration: underline; }
