* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Arial, sans-serif; }
body { background: #e0e8f3; display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 20px; }
.auth-gate-wrapper { width: 100%; display: flex; justify-content: center; align-items: center; }
.auth-card { background: #e0e8f3; padding: 35px 25px; border-radius: 30px; width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto; box-shadow: 9px 9px 16px rgba(163, 177, 198, 0.6), -9px -9px 16px rgba(255, 255, 255, 0.8); text-align: center; }
.auth-card::-webkit-scrollbar { width: 6px; }
.auth-card::-webkit-scrollbar-thumb { background: rgba(163, 177, 198, 0.6); border-radius: 10px; }

.avatar-box { width: 65px; height: 65px; background: #e0e8f3; border-radius: 50%; margin: 0 auto 15px; display: flex; justify-content: center; align-items: center; font-size: 24px; color: #556080; box-shadow: inset 4px 4px 8px rgba(163, 177, 198, 0.5), inset -4px -4px 8px rgba(255, 255, 255, 0.8); }
.auth-card h2 { color: #2c385e; font-size: 24px; margin-bottom: 5px; font-weight: 700; }
.subtitle { font-size: 13px; color: #7a869a; margin-bottom: 22px; }
.form-group { margin-bottom: 16px; position: relative; }
.input-wrapper { display: flex; align-items: center; background: #e0e8f3; border-radius: 15px; padding: 0 15px; box-shadow: inset 4px 4px 8px rgba(163, 177, 198, 0.6), inset -4px -4px 8px rgba(255, 255, 255, 0.8); }
.input-wrapper i { color: #7a869a; font-size: 15px; margin-right: 12px; width: 18px; text-align: center; }
.form-group input, .form-group select { width: 100%; padding: 13px 5px; border: none; background: transparent; outline: none; font-size: 13.5px; color: #2c385e; }
.form-group select { cursor: pointer; color: #2c385e; }
.form-group select option { background: #e0e8f3; color: #2c385e; }

.btn-submit { width: 100%; padding: 14px; margin-top: 10px; font-weight: bold; border-radius: 15px; border: none; cursor: pointer; font-size: 15px; background: #e0e8f3; color: #2c385e; box-shadow: 5px 5px 10px rgba(163, 177, 198, 0.6), -5px -5px 10px rgba(255, 255, 255, 0.8); transition: all 0.2s ease; display: flex; justify-content: center; align-items: center; gap: 8px; }
.btn-submit:hover { color: #1e293b; background: #e6eefa; }
.btn-submit:active { box-shadow: inset 4px 4px 8px rgba(163, 177, 198, 0.5), inset -4px -4px 8px rgba(255, 255, 255, 0.8); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.divider { margin: 25px 0 18px; position: relative; display: flex; align-items: center; justify-content: center; }
.divider::before { content: ""; position: absolute; width: 100%; height: 2px; background: linear-gradient(90deg, rgba(163,177,198,0) 0%, rgba(163,177,198,0.6) 50%, rgba(163,177,198,0) 100%); }
.divider span { background: #e0e8f3; padding: 0 15px; position: relative; font-size: 11px; color: #7a869a; text-transform: uppercase; letter-spacing: 1px; }
.social-login-container { display: flex; justify-content: center; gap: 18px; margin-bottom: 20px; }
.btn-social { width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; background: #e0e8f3; color: #2c385e; font-size: 18px; box-shadow: 5px 5px 10px rgba(163, 177, 198, 0.6), -5px -5px 10px rgba(255, 255, 255, 0.8); transition: all 0.2s ease; }
.btn-social:active { box-shadow: inset 3px 3px 6px rgba(163, 177, 198, 0.5), inset -3px -3px 6px rgba(255, 255, 255, 0.8); }
.btn-social.google-color { color: #ea4335; }
.btn-social.github-color { color: #24292e; }
.btn-social.twitter-color { color: #1da1f2; }
.btn-social:disabled { opacity: 0.5; cursor: not-allowed; }

.toggle-container { font-size: 13px; color: #7a869a; margin-top: 16px; }
.toggle-link { color: #2563eb; cursor: pointer; font-weight: 700; text-decoration: none; margin-left: 5px; }
.toggle-link:hover { text-decoration: underline; }

.status-msg { font-size: 13px; margin-top: 16px; font-weight: 600; padding: 12px 14px; border-radius: 12px; display: none; text-align: left; line-height: 1.4; }
.status-msg.error-msg { display: block; color: #dc2626; background: rgba(220, 38, 38, 0.08); border: 1px solid rgba(220, 38, 38, 0.25); }
.status-msg.loading-msg { display: block; color: #2563eb; background: rgba(37, 99, 235, 0.08); border: 1px solid rgba(37, 99, 235, 0.25); }
.status-msg.success-msg { display: block; color: #16a34a; background: rgba(22, 163, 74, 0.08); border: 1px solid rgba(22, 163, 74, 0.25); }
.hidden { display: none !important; }
