* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #f5f7fa;
  color: #333;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(30, 64, 175, 0.3);
}

.page-title {
  font-size: 20px;
  font-weight: 600;
}

.balance {
  font-size: 16px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 20px;
}

.main-content {
  flex: 1;
  padding: 16px;
  padding-bottom: 80px;
  overflow-y: auto;
}

.page {
  display: none;
  animation: fadeIn 0.3s ease;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header {
  margin-bottom: 16px;
}

.section-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: #1e40af;
  margin: 0;
  flex-shrink: 0;
}

.expiry-info {
  font-size: 12px;
  color: #999;
  flex-shrink: 0;
}

.country-selector {
  position: relative;
  width: 100%;
}

.selector-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: border-color 0.3s;
}

.selector-input:focus {
  outline: none;
  border-color: #3b82f6;
}

.selector-input i {
  color: #999;
  font-size: 12px;
}

.selector-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: 300px;
  overflow: hidden;
  display: none;
}

.selector-dropdown.show {
  display: block;
}

.dropdown-search {
  display: flex;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-search i {
  color: #999;
  margin-right: 10px;
}

.dropdown-search input {
  flex: 1;
  border: none;
  font-size: 14px;
  outline: none;
}

.dropdown-list {
  overflow-y: auto;
  max-height: 240px;
}

.dropdown-item {
  padding: 12px 16px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-item:hover {
  background: #f5f7fa;
}

.dropdown-item .country-code {
  color: #999;
  font-size: 13px;
}

.dropdown-item.active {
  background: #eff6ff;
  color: #1e40af;
}

.notice-carousel {
  height: 88px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 12px;
  padding: 0 16px;
  margin-bottom: 16px;
}

.notice-carousel-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease;
}

.notice-item {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
}

.notice-item .notice-icon {
  color: #22c55e;
  font-size: 16px;
  flex-shrink: 0;
}

.notice-item .notice-user {
  font-weight: 600;
  color: #1e40af;
}

.notice-item .notice-text {
  color: #555;
}

.number-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.refresh-btn {
  background: #eff6ff;
  border: none;
  color: #1e40af;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
  margin-left: auto;
}

.refresh-btn:active {
  transform: scale(0.95);
}

.refresh-btn.loading i {
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.waiting-table {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.waiting-table-header {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  background: #f0f4f8;
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-align: center;
}

.waiting-table-body {
  padding: 8px;
  min-height: 60px;
}

.waiting-table-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  padding: 12px 8px;
  font-size: 13px;
  color: #333;
  text-align: center;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

.waiting-table-row:last-child {
  border-bottom: none;
}

.waiting-empty {
  text-align: center;
  padding: 20px;
  color: #999;
  font-size: 14px;
}

.number-card {
  background: white;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.number-card:active {
  transform: scale(0.98);
}

.number-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.region {
  font-size: 12px;
  color: #666;
}

.operator {
  font-size: 12px;
  color: #3b82f6;
  background: #eff6ff;
  padding: 2px 8px;
  border-radius: 10px;
}

.number-display {
  font-size: 20px;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.number-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
  margin-bottom: 12px;
}

.price {
  color: #ef4444;
  font-weight: 600;
}

.get-btn {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

.get-btn:active {
  transform: scale(0.95);
}

.sms-list,
.send-list,
.call-list,
.recharge-list {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sms-carousel {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.sms-carousel-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease;
}

.sms-carousel-slide {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.sms-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0;
}

.sms-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ddd;
  transition: background 0.3s;
  cursor: pointer;
}

.sms-carousel-dot.active {
  background: #3b82f6;
}

.sms-item,
.send-item,
.call-item,
.recharge-item {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sms-item:last-child,
.send-item:last-child,
.call-item:last-child,
.recharge-item:last-child {
  border-bottom: none;
}

.sms-icon,
.call-icon,
.recharge-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.sms-content,
.send-content,
.call-content,
.recharge-content {
  flex: 1;
  min-width: 0;
}

.sms-header,
.send-header,
.call-header,
.recharge-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.sms-sender,
.send-to,
.call-number,
.recharge-type {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.sms-time,
.send-time,
.call-time,
.recharge-time {
  font-size: 12px;
  color: #999;
}

.sms-body,
.send-body {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.call-info {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #999;
}

.send-status {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.send-status.success {
  background: #dcfce7;
  color: #22c55e;
}

.send-status.pending {
  background: #fef3c7;
  color: #f59e0b;
}

.send-status.failed {
  background: #fee2e2;
  color: #ef4444;
}

.send-form {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 16px;
  background: #f9fafb;
  transition: border-color 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: #3b82f6;
}

.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 14px;
  background: #f9fafb;
  min-height: 100px;
  resize: none;
  transition: border-color 0.3s;
}

.form-textarea:focus {
  outline: none;
  border-color: #3b82f6;
}

.char-count {
  display: block;
  text-align: right;
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

.number-select {
  display: flex;
  gap: 12px;
}

.select-item {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.select-item.active {
  border-color: #3b82f6;
  background: #eff6ff;
}

.select-item.active .fa-check {
  display: block;
}

.select-item .fa-check {
  display: none;
  position: absolute;
  top: 8px;
  right: 8px;
  color: #3b82f6;
}

.select-number {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.send-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
  margin-bottom: 16px;
}

.send-btn {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

.send-btn:active {
  transform: scale(0.98);
}

.dial-pad {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dial-display {
  background: #f9fafb;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 600;
  color: #1e40af;
  letter-spacing: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.dial-delete {
  background: none;
  border: none;
  color: #999;
  font-size: 24px;
  cursor: pointer;
}

.dial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.dial-btn {
  width: 100%;
  aspect-ratio: 1;
  background: #f9fafb;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: background 0.3s;
}

.dial-btn:active {
  background: #e5e7eb;
}

.call-btn {
  width: 100%;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.2s;
}

.call-btn:active {
  transform: scale(0.98);
}

.balance-card {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.balance-icon {
  font-size: 40px;
}

.balance-info {
  flex: 1;
}

.balance-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.balance-amount {
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.recharge-btn {
  background: white;
  color: #1d4ed8;
  border: none;
  padding: 12px 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

.recharge-btn:active {
  transform: scale(0.95);
}

.recharge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.recharge-tip {
  text-align: center;
  font-size: 14px;
  color: #ef4444;
  margin-bottom: 24px;
}

.recharge-item-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.recharge-item-card:active {
  transform: scale(0.96);
}

.recharge-item-card.active {
  border-color: #3b82f6;
  background: #eff6ff;
}

.recharge-amount-label {
  font-size: 18px;
  font-weight: 700;
  color: #1e40af;
}

.recharge-bonus-label {
  font-size: 12px;
  color: #ef4444;
  font-weight: 500;
}

.package-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.package-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  border: 2px solid transparent;
}

.package-card.popular {
  border-color: #3b82f6;
  background: #f8fafc;
}

.package-tag {
  position: absolute;
  top: 0;
  right: 20px;
  background: #3b82f6;
  color: white;
  font-size: 10px;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
}

.package-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.package-price {
  font-size: 28px;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 4px;
}

.package-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.package-features {
  list-style: none;
  margin-bottom: 16px;
}

.package-features li {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.package-features li i {
  color: #22c55e;
  font-size: 12px;
}

.buy-btn {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* 充值弹窗 */
.recharge-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.recharge-modal.show {
  display: flex;
}

.recharge-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.recharge-modal-content {
  position: relative;
  background: white;
  border-radius: 20px;
  width: calc(100% - 40px);
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.recharge-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 12px;
  border-bottom: 1px solid #f0f0f0;
}

.recharge-modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e40af;
}

.recharge-modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  padding: 4px;
}

.recharge-modal-body {
  padding: 20px;
}

.recharge-modal-amount {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 16px;
}

.recharge-modal-network {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 12px;
  margin-bottom: 16px;
}

.network-label {
  font-size: 14px;
  color: #666;
}

.network-value {
  font-size: 14px;
  font-weight: 600;
  color: #1e40af;
}

.recharge-modal-addr-section {
  margin-bottom: 16px;
}

.addr-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  text-align: center;
}

.addr-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.addr-value {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  word-break: break-all;
  font-family: monospace;
  text-align: center;
}

.addr-copy-btn {
  background: #3b82f6;
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.addr-copy-btn:active {
  background: #1e40af;
}

.recharge-modal-tips {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
}

.tip-item {
  font-size: 12px;
  color: #92400e;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.5;
  justify-content: center;
}

.tip-item + .tip-item {
  margin-top: 6px;
}

.tip-item i {
  margin-top: 2px;
  flex-shrink: 0;
  color: #f59e0b;
}

.recharge-modal-confirm {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.recharge-modal-confirm:active {
  opacity: 0.8;
}

.api-key-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.api-key-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.api-key-header span {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.copy-btn {
  background: #eff6ff;
  color: #3b82f6;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.api-key-value {
  background: #1f2937;
  color: #e5e7eb;
  font-family: monospace;
  padding: 16px;
  border-radius: 12px;
  font-size: 14px;
  text-align: center;
  margin-bottom: 12px;
}

.api-docs {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.api-item {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  gap: 16px;
  align-items: center;
}

.api-item:last-child {
  border-bottom: none;
}

.api-method {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  flex-shrink: 0;
}

.api-method.get {
  background: #dcfce7;
  color: #22c55e;
}

.api-method.post {
  background: #fee2e2;
  color: #ef4444;
}

.api-info {
  flex: 1;
}

.api-endpoint {
  font-size: 14px;
  font-weight: 600;
  color: #1e40af;
  font-family: monospace;
  margin-bottom: 4px;
}

.api-desc {
  font-size: 13px;
  color: #666;
}

.code-block {
  background: #1f2937;
  border-radius: 16px;
  padding: 20px;
  overflow-x: auto;
}

.code-block pre {
  margin: 0;
}

.code-block code {
  color: #e5e7eb;
  font-size: 13px;
  line-height: 1.6;
}

.user-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.user-avatar {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
}

.user-info {
  flex: 1;
}

.user-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.user-level {
  font-size: 14px;
  color: #f59e0b;
  background: #fef3c7;
  padding: 2px 8px;
  border-radius: 10px;
  display: inline-block;
}

.edit-profile {
  background: #eff6ff;
  color: #3b82f6;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
}

.menu-list {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.menu-item {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-icon {
  font-size: 20px;
}

.menu-text {
  flex: 1;
  font-size: 15px;
  color: #333;
}

.menu-arrow {
  font-size: 20px;
  color: #999;
}

.logout-btn {
  width: 100%;
  background: #fee2e2;
  color: #ef4444;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.auth-container {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: #f3f4f6;
  border-radius: 10px;
  padding: 4px;
}

.auth-tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-tab.active {
  background: white;
  color: #1e40af;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.auth-form .form-group {
  margin-bottom: 16px;
}

.auth-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

.auth-form .form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.auth-form .form-input:focus {
  border-color: #3b82f6;
}

.form-hint {
  display: block;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
}

.auth-error {
  color: #ef4444;
  font-size: 13px;
  min-height: 18px;
  margin-bottom: 8px;
}

.auth-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

.auth-submit-btn:active {
  transform: scale(0.98);
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  background: white;
  display: flex;
  justify-content: space-around;
  padding: 12px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.nav-item i {
  font-size: 20px;
  color: #999;
}

.nav-item span {
  font-size: 11px;
  color: #999;
}

.nav-item.active i {
  color: #3b82f6;
}

.nav-item.active span {
  color: #3b82f6;
  font-weight: 600;
}

@media (max-width: 375px) {
  .header {
    padding: 14px 16px;
  }

  .page-title {
    font-size: 18px;
  }

  .main-content {
    padding: 12px;
  }

  .number-grid {
    grid-template-columns: 1fr;
  }

  .dial-btn {
    font-size: 20px;
  }

  .bottom-nav {
    padding: 10px 0;
  }

  .nav-item i {
    font-size: 18px;
  }

  .nav-item span {
    font-size: 10px;
  }
}