
.paver-calculator {
  width: 100%;
  font-family: inherit;
  color: #334155;
  box-sizing: border-box;
}

.paver-calculator * {
  box-sizing: border-box;
}

/* Form Section */
.pc-form-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
}

.pc-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.pc-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
}

.pc-subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

.pc-section {
  margin-bottom: 32px;
}

.pc-section-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 16px;
  margin-top: 0;
}

/* Grids */
.pc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.pc-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.pc-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media(min-width: 640px) {
  .pc-grid { grid-template-columns: repeat(2, 1fr); }
  .pc-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .pc-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Inputs */
.pc-input-group {
  display: flex;
  flex-direction: column;
}

.pc-input-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  margin-bottom: 6px;
}

.pc-required {
  color: #ef4444;
  font-weight: bold;
}

.pc-input-group input[type="number"],
.pc-input-group select {
  width: 100%;
  padding: 8px 12px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 1rem;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  height: 42px;
}

.pc-input-group input[type="number"]:focus,
.pc-input-group select:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.pc-radio-group {
  display: flex;
  gap: 16px;
  align-items: center;
  height: 42px;
}

.pc-radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin: 0;
  font-size: 0.875rem;
}

.pc-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
}
.pc-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #10b981;
}

/* Buttons */
.pc-btn-primary {
  background-color: #10b981;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}
.pc-btn-primary:hover { background-color: #059669; }

.pc-btn-secondary {
  background-color: #f1f5f9;
  color: #475569;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}
.pc-btn-secondary:hover { background-color: #e2e8f0; }

/* Results Section */
.pc-results-section {
  background: #0f172a;
  color: #f8fafc;
  border-radius: 8px;
  padding: 24px;
}

.pc-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #334155;
}

.pc-results-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: #fff;
}

.pc-empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #94a3b8;
  border: 1px dashed #334155;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.5);
}

.pc-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media(min-width: 900px) {
  .pc-results-grid { grid-template-columns: repeat(2, 1fr); }
}

.pc-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pc-area-block .pc-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 4px;
}
.pc-area-block .pc-value {
  font-size: 2.25rem;
  font-weight: 300;
  color: #fff;
}
.pc-area-block .pc-value small {
  font-size: 1.25rem;
  color: #94a3b8;
}

.pc-result-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 20px;
}

.pc-result-card h3 {
  color: #34d399;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 12px;
}

.pc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  padding-bottom: 8px;
}
.pc-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.pc-label { color: #cbd5e1; }
.pc-val { font-weight: 500; color: #fff; }

.pc-total-row {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #475569;
}
.pc-total-row span:first-child {
  font-weight: 500;
  color: #fff;
}
.pc-val-highlight {
  font-size: 1.25rem;
  font-weight: 600;
  color: #34d399;
}

@media print {
  .pc-form-section { display: none !important; }
  .pc-results-section {
    background: #fff !important;
    color: #000 !important;
    border: none;
    padding: 0;
  }
  .pc-results-title, .pc-val, .pc-label, .pc-total-row span:first-child { color: #000 !important; }
  .pc-result-card { background: #f8fafc !important; border-color: #cbd5e1 !important; }
  .pc-val-highlight { color: #059669 !important; }
  #pc-print-btn { display: none !important; }
}
