#app { min-height: 100vh; position: relative; overflow-x: hidden; }

.page-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: linear-gradient(135deg, #e8f0fe 0%, #f5f7fb 50%, #eef2f7 100%); }
.bg-circle { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.bg-circle.c1 { width: 480px; height: 480px; background: #6a8dff; top: -160px; left: -120px; }
.bg-circle.c2 { width: 520px; height: 520px; background: #5ec6ff; bottom: -200px; right: -140px; }
.bg-circle.c3 { width: 360px; height: 360px; background: #b18cff; top: 40%; left: 55%; opacity: .35; }

.page-header {
  position: relative; z-index: 2;
  background: linear-gradient(90deg, rgba(31,61,122,.92), rgba(46,104,196,.92));
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(31,61,122,.18);
}
.header-inner {
  max-width: 1080px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, #ffd56b, #ff9d4d);
  color: #fff; font-size: 26px; font-weight: bold;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(255,157,77,.45);
}
.logo-text h1 { color: #fff; font-size: 22px; letter-spacing: 2px; }
.logo-text p { color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: 1px; margin-top: 2px; }
.admin-link {
  color: #fff; font-size: 14px; padding: 8px 18px;
  border: 1px solid rgba(255,255,255,.5); border-radius: 20px;
  transition: all .25s;
}
.admin-link:hover { background: rgba(255,255,255,.18); border-color: #fff; }

.page-main { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 36px 24px 24px; }

.form-card {
  background: #fff; border-radius: 18px; padding: 36px 40px 28px;
  box-shadow: 0 20px 60px rgba(31,61,122,.12), 0 2px 6px rgba(31,61,122,.06);
  border: 1px solid rgba(255,255,255,.6);
}
.form-card-head { text-align: center; margin-bottom: 28px; }
.form-card-head h2 { font-size: 24px; color: #1f3d7a; letter-spacing: 2px; }
.form-card-head h2::after {
  content: ''; display: block; width: 60px; height: 3px; margin: 12px auto 0;
  background: linear-gradient(90deg, #4a7dff, #5ec6ff); border-radius: 2px;
}
.form-card-head p { color: #8a94a6; font-size: 13px; margin-top: 10px; }

.loading-box { text-align: center; padding: 60px 0; color: #8a94a6; }
.loading-spinner {
  width: 40px; height: 40px; margin: 0 auto 16px;
  border: 3px solid #e4e9f2; border-top-color: #4a7dff; border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.info-form .el-form-item__label { padding-bottom: 4px; }
.field-label { font-size: 15px; color: #2c3e50; font-weight: 600; }
.field-desc { display: block; font-size: 12px; color: #b0b6c0; font-weight: normal; margin-top: 2px; line-height: 1.4; }
.info-form .el-input__wrapper,
.info-form .el-textarea__inner,
.info-form .el-select__wrapper {
  border-radius: 10px !important;
  box-shadow: 0 0 0 1px #e4e9f2 inset !important;
  transition: all .2s;
}
.info-form .el-input__wrapper:hover,
.info-form .el-select__wrapper:hover { box-shadow: 0 0 0 1px #4a7dff inset !important; }
.info-form .el-input__wrapper.is-focus,
.info-form .el-select__wrapper.is-focused { box-shadow: 0 0 0 1px #4a7dff inset, 0 0 0 3px rgba(74,125,255,.12) inset !important; }

.submit-bar { margin-top: 14px; text-align: center; }

.upload-section { margin: 8px 0 4px; display: flex; gap: 24px; flex-wrap: wrap; }
.upload-attach { flex: 1; min-width: 240px; }
.upload-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.upload-title { font-size: 15px; font-weight: 600; color: #2c3e50; }
.upload-tip { font-size: 12px; color: #b0b6c0; }
.attach-area {
  border: 2px dashed #c9d4e6; border-radius: 12px; padding: 22px; cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center; gap: 8px; color: #9aa4b2; font-size: 14px; background: #f8fafc;
}
.attach-area:hover { border-color: #4a7dff; background: #f0f5ff; color: #4a7dff; }
.attach-area .el-icon { font-size: 22px; }
.attach-list { margin-top: 10px; }
.attach-list li {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; margin-bottom: 6px;
  background: #f4f7fb; border-radius: 8px; font-size: 13px;
}
.attach-list li .el-icon { color: #4a7dff; font-size: 16px; }
.attach-name { flex: 1; color: #2c3e50; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attach-size { color: #9aa4b2; font-size: 12px; }
.attach-remove { border: none; background: none; cursor: pointer; color: #c0c6d0; display: flex; align-items: center; padding: 2px; }
.attach-remove:hover { color: #f56c6c; }
.attach-remove .el-icon { font-size: 14px; }

.submit-bar .el-form-item__content { justify-content: center; }
.submit-bar .el-button--primary {
  background: linear-gradient(90deg, #4a7dff, #5ec6ff);
  border: none; padding: 0 42px; font-size: 16px; letter-spacing: 2px;
  box-shadow: 0 8px 20px rgba(74,125,255,.4);
}
.submit-bar .el-button--default { padding: 0 32px; }

.page-footer { text-align: center; color: #9aa4b2; font-size: 12px; padding: 28px 0 8px; }

.success-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(15,27,61,.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.success-modal {
  width: 360px; max-width: 88vw; background: #fff; border-radius: 18px;
  padding: 40px 32px 32px; text-align: center;
  box-shadow: 0 24px 70px rgba(0,0,0,.25);
  animation: popIn .35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes popIn { 0% { transform: scale(.8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.success-check { width: 72px; height: 72px; margin: 0 auto 20px; }
.success-check svg { width: 100%; height: 100%; }
.check-circle { stroke: #67c23a; stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: drawCircle .5s ease forwards; }
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
.check-path { stroke: #67c23a; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: drawCheck .35s ease .3s forwards; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.success-modal h3 { font-size: 22px; color: #1f3d7a; margin-bottom: 8px; }
.success-modal p { font-size: 14px; color: #8a94a6; margin-bottom: 26px; line-height: 1.6; }
.success-btn {
  width: 100%; height: 48px; border: none; border-radius: 24px; cursor: pointer;
  font-size: 16px; color: #fff; letter-spacing: 2px;
  background: linear-gradient(90deg, #4a7dff, #5ec6ff);
  box-shadow: 0 8px 20px rgba(74,125,255,.4); transition: transform .15s;
}
.success-btn:active { transform: scale(.97); }

@media (max-width: 768px) {
  .header-inner { padding: 14px 16px; }
  .logo-icon { width: 40px; height: 40px; font-size: 22px; border-radius: 10px; }
  .logo-text h1 { font-size: 18px; letter-spacing: 1px; }
  .logo-text p { display: none; }
  .admin-link { padding: 6px 14px; font-size: 13px; }
  .page-main { padding: 16px 12px 20px; }
  .form-card { padding: 22px 18px 20px; border-radius: 14px; box-shadow: 0 12px 32px rgba(31,61,122,.1); }
  .form-card-head { margin-bottom: 20px; }
  .form-card-head h2 { font-size: 20px; letter-spacing: 1px; }
  .form-card-head p { font-size: 12px; margin-top: 8px; }
  .field-label { font-size: 14px; }
  .field-desc { font-size: 11px; }
  .info-form .el-form-item { margin-bottom: 16px; }
  .info-form .el-col { padding-left: 0 !important; padding-right: 0 !important; }
  .info-form .el-row { margin-left: 0 !important; margin-right: 0 !important; }
  .info-form .el-input__inner,
  .info-form .el-textarea__inner { font-size: 16px; }
  .info-form .el-select__placeholder,
  .info-form .el-select__selected-item { font-size: 16px; }
  .info-form .el-input__wrapper,
  .info-form .el-textarea__inner,
  .info-form .el-select__wrapper { min-height: 44px; border-radius: 8px !important; }
  .info-form .el-checkbox-group { display: flex; flex-wrap: wrap; gap: 8px 0; }
  .info-form .el-checkbox { margin-right: 16px; height: 32px; }
  .submit-bar { margin-top: 8px; }
  .submit-bar .el-button--primary { padding: 0 32px; font-size: 16px; height: 48px; }
  .submit-bar .el-button--default { padding: 0 24px; height: 48px; }
  .page-footer { padding: 20px 0 6px; }
  .success-modal { padding: 32px 24px 24px; }
  .success-check { width: 64px; height: 64px; }
  .success-modal h3 { font-size: 20px; }
}

@media (max-width: 480px) {
  .header-inner { padding: 12px 14px; }
  .logo { gap: 10px; }
  .logo-icon { width: 36px; height: 36px; font-size: 20px; }
  .logo-text h1 { font-size: 16px; }
  .admin-link { padding: 5px 12px; font-size: 12px; }
  .page-main { padding: 12px 10px 16px; }
  .form-card { padding: 18px 14px 16px; border-radius: 12px; }
  .form-card-head h2 { font-size: 18px; }
  .info-form .el-form-item { margin-bottom: 14px; }
  .info-form .el-checkbox { margin-right: 12px; }
  .submit-bar .el-button--primary { width: 100%; padding: 0; height: 50px; letter-spacing: 4px; }
  .submit-bar .el-button--default { width: 100%; padding: 0; height: 46px; margin-top: 10px; margin-left: 0 !important; }
  .submit-bar .el-form-item__content { flex-direction: column; align-items: stretch; }
}
.landing-card { background: #fff; border-radius: 16px; box-shadow: 0 8px 32px rgba(30,50,90,.08); padding: 36px 32px; max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.promote-banner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; margin-bottom: 24px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 12px; text-decoration: none; color: #fff; transition: all .2s; }
.promote-banner:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(102,126,234,.3); }
.banner-text { font-size: 14px; }
.banner-btn { font-size: 14px; font-weight: 600; padding: 6px 16px; background: rgba(255,255,255,.2); border-radius: 20px; }
.header-links { display: flex; align-items: center; }
.tenant-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.tenant-item { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: linear-gradient(135deg, #f8faff, #f0f5ff); border: 1px solid #e0e8f5; border-radius: 12px; text-decoration: none; color: #333; transition: all .2s; }
.tenant-item:hover { background: linear-gradient(135deg, #e8f0fe, #dde8fc); border-color: #6a8dff; transform: translateX(4px); box-shadow: 0 4px 12px rgba(106,141,255,.15); }
.tenant-icon { width: 48px; height: 48px; border-radius: 10px; background: linear-gradient(135deg, #6a8dff, #4a6ae8); display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.tenant-info { flex: 1; }
.tenant-info h3 { font-size: 17px; font-weight: 600; margin: 0 0 4px; color: #1a2a4a; }
.tenant-info p { font-size: 13px; color: #889; margin: 0; }
.tenant-arrow { font-size: 22px; color: #6a8dff; font-weight: 300; }
.empty-box { text-align: center; padding: 48px 0; color: #99a; }
.empty-box p { font-size: 16px; }
