body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; background-color: #ffffff; display: flex; flex-direction: column; min-height: 100vh; margin: 0; padding: 0; }
.form-container { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 0rem; padding-top: 10vh; }
.form-card { background: #ffffff; border-radius: 0.5rem; box-shadow: 0 0.125rem 0.75rem rgba(0,0,0,0.08); padding: 2.5rem; width: 100%; max-width: 580px; text-align: center; border: 0.0625rem solid #f0f0f0; }
.form-title { font-size: 1.75rem; font-weight: 600; margin-bottom: 2rem; color: #2c3e50; letter-spacing: -0.5px; }
.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-label { display: block; font-size: 1rem; font-weight: 500; color: #495057; margin-bottom: 0.5rem; }
.required { color: #e74c3c; margin-left: 0.125rem; }
.form-input { width: 100%; padding: 1rem; border: 0.0625rem solid #e9ecef; border-radius: 0.375rem; background: #f8f9fa; font-family: inherit; font-size: 0.875rem; color: #495057; transition: all 0.3s ease; box-sizing: border-box; }
.form-input:focus { outline: none; border-color: #667eea; background: #ffffff; box-shadow: 0 0 0 0.1875rem rgba(102, 126, 234, 0.1); }
.form-select { width: 100%; padding: 1rem; border: 0.0625rem solid #e9ecef; border-radius: 0.375rem; background: #f8f9fa; font-family: inherit; font-size: 14px; color: #495057; transition: all 0.3s ease; box-sizing: border-box; cursor: pointer; }
.form-select:focus { outline: none; border-color: #667eea; background: #ffffff; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); }
.btn-submit { background: linear-gradient(135deg,rgb(7, 110, 212)  0%, rgb(0, 82, 217) 100%); color: white; padding: 1rem 2rem; border: none; border-radius: 0.5rem; font-size: 1.125rem; font-weight: 500; text-decoration: none; display: inline-block; transition: all 0.3s ease; margin-top: 1.5rem; cursor: pointer; box-shadow: 0 0.25rem 0.9375rem rgba(102, 126, 234, 0.3); position: relative; overflow: hidden; width: 100%; }
.btn-submit::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s; }
.btn-submit:hover { background: linear-gradient(135deg,rgb(7, 110, 212)  0%, rgb(0, 82, 217) 100%); transform: translateY(-0.125rem); box-shadow: 0 0.5rem 1.5625rem rgba(102, 126, 234, 0.4); }
.btn-submit:hover::before { left: 100%; }
.btn-submit:active { transform: translateY(-0.0625rem); box-shadow: 0 0.25rem 0.9375rem rgba(102, 126, 234, 0.3); }
.form-footer { margin-top: 2rem; font-size: 0.8125rem; color: #95a5a6; line-height: 1.6; }
.form-footer a { color: #3498db; text-decoration: none; }
.form-footer a:hover { text-decoration: underline; }
.message-box { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); padding: 16px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 10000; max-width: 500px; min-width: 300px; font-family: inherit; animation: slideDown 0.3s ease-out; }
.message-row { display: flex; align-items: flex-start; gap: 10px; }
.message-icon { font-size: 18px; font-weight: bold; }
.message-main { flex: 1; }
.message-title { font-weight: 600; }
.message-title.with-detail { margin-bottom: 6px; }
.message-detail { font-size: 14px; opacity: 0.9; line-height: 1.4; }
.message-close { background: none; border: none; cursor: pointer; font-size: 16px; padding: 0; opacity: 0.7; margin-left: 10px; }
@keyframes slideDown { from { transform: translateX(-50%) translateY(-100%); opacity: 0; } to { transform: translateX(-50%) translateY(0); opacity: 1; } }
@media (max-width: 768px) {
  .form-card { margin: 0.625rem; padding: 1.25rem; }
  .form-title { font-size: 1.25rem; }
  .form-container { padding-top: 10vh; }
  .form-select { min-height: 3rem; padding: 0.875rem 1rem; font-size: 1rem; line-height: 1.25; -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 1rem; padding-right: 2.5rem; }
  .form-input { min-height: 3rem; padding: 0.875rem 1rem; font-size: 1rem; line-height: 1.25; }
}
