* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 40px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

.steps-card {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  border: none;
  padding: 30px;
  margin-bottom: 30px;
}

.step {
  margin-bottom: 16px;
  display: flex;
  align-items: start;
  gap: 12px;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  background: rgba(255, 255, 255, 0.9);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #e85d04;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
  padding-top: 4px;
}

.step-content strong {
  display: block;
  margin-bottom: 4px;
  color: #333;
}

.step-content a {
  color: #d62828;
  text-decoration: none;
  font-weight: 600;
}

.step-content a:hover {
  text-decoration: underline;
}

.help-trigger {
  cursor: pointer;
  color: #7c3aed;
  font-weight: 600;
  text-decoration: underline;
  display: inline-block;
  margin-left: 8px;
  transition: color 0.2s;
}

.help-trigger:hover {
  color: #5b21b6;
}

.help-box {
  display: none;
  background: linear-gradient(135deg, #f0e6ff 0%, #e8d5ff 100%);
  padding: 20px;
  border-radius: 16px;
  margin-top: 12px;
  border: 2px solid #c4b5fd;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.help-box strong {
  color: #5b21b6;
  font-size: 15px;
}

.help-box code {
  background: rgba(255, 255, 255, 0.8);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  color: #7c3aed;
  font-weight: 600;
}

h1 {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.subtitle {
  color: #666;
  font-size: 16px;
  margin-bottom: 32px;
}

.auth-section {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-secondary {
  background: white;
  color: #333;
  border: 2px solid #e0e0e0;
}

.status {
  font-weight: 600;
  font-size: 14px;
  color: #764ba2;
  padding: 8px 16px;
  background: rgba(118, 75, 162, 0.1);
  border-radius: 8px;
}

.input-section {
  display: none;
  margin-bottom: 24px;
}

.input-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 14px;
  color: #333;
}

.input-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.select {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 14px;
  max-width: 300px;
  width: 100%;
  transition: border-color 0.3s;
  background: white;
}

.select:focus {
  outline: none;
  border-color: #667eea;
}

.input-hint {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
}

.property-info {
  display: none;
  padding: 16px 20px;
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
  border-radius: 12px;
  font-size: 13px;
  color: #0369a1;
  font-weight: 600;
  margin-bottom: 24px;
  border: 2px solid #bae6fd;
}

.results-section {
  display: none;
}

.results-header {
  margin-bottom: 24px;
}

.results-title {
  font-size: 36px;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 8px;
}

.results-subtitle {
  color: #6b7280;
  font-size: 14px;
}

.results-subsection {
  margin-top: 40px;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: white;
}

thead {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

th {
  padding: 18px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

th:nth-child(2),
th:nth-child(3),
th:nth-child(4) {
  text-align: right;
}

tbody tr {
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.2s;
}

tbody tr:hover {
  background: #f9fafb;
}

tbody tr:last-child {
  border-bottom: none;
}

td {
  padding: 16px 20px;
  font-size: 13px;
  color: #374151;
}

td:first-child {
  font-weight: 500;
  color: #1f2937;
  word-break: break-all;
}

td:nth-child(2),
td:nth-child(3),
td:nth-child(4) {
  text-align: right;
  font-weight: 600;
}

td:nth-child(4) {
  color: #10b981;
  font-size: 15px;
}

.empty-state {
  text-align: centre;
  padding: 40px 20px;
  color: #9ca3af;
}

@media (max-width: 768px) {
  .card {
    padding: 24px;
  }

  h1 {
    font-size: 36px;
  }

  .results-title {
    font-size: 28px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 13px;
  }
}
