/* ============================================================
   Khwelasz.com MVP Shared Styles
   Lightweight mobile-first styling
   ============================================================ */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f6f8;
  color: #111827;
}

.app {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
}

.header {
  background: #111827;
  color: white;
  padding: 18px 16px;
  border-radius: 0 0 18px 18px;
  margin-bottom: 16px;
}

.header h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.header p {
  margin: 6px 0 0;
  font-size: 14px;
  opacity: 0.85;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.card h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 14px;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 16px;
  margin-bottom: 12px;
  background: white;
}

.textarea {
  min-height: 90px;
  resize: vertical;
}

.btn {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 16px;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 10px;
}

.btn-primary {
  background: #111827;
  color: white;
}

.btn-success {
  background: #16a34a;
  color: white;
}

.btn-danger {
  background: #dc2626;
  color: white;
}

.btn-warning {
  background: #f59e0b;
  color: #111827;
}

.btn-secondary {
  background: #e5e7eb;
  color: #111827;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.status {
  padding: 12px;
  border-radius: 12px;
  font-size: 15px;
  margin-bottom: 12px;
}

.status-info {
  background: #e0f2fe;
  color: #075985;
}

.status-success {
  background: #dcfce7;
  color: #166534;
}

.status-warning {
  background: #fef3c7;
  color: #92400e;
}

.status-error {
  background: #fee2e2;
  color: #991b1b;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.data-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 15px;
}

.data-row:last-child {
  border-bottom: none;
}

.data-label {
  color: #6b7280;
}

.data-value {
  font-weight: bold;
  text-align: right;
}

.big-value {
  font-size: 34px;
  font-weight: bold;
  line-height: 1.1;
}

.small-text {
  font-size: 13px;
  color: #6b7280;
}

.hidden {
  display: none !important;
}

.map {
  width: 100%;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  background: #e5e7eb;
}

.list-item {
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 10px;
  background: #fafafa;
}

.badge {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: bold;
}

.badge-green {
  background: #dcfce7;
  color: #166534;
}

.badge-red {
  background: #fee2e2;
  color: #991b1b;
}

.badge-gray {
  background: #e5e7eb;
  color: #374151;
}

.footer-note {
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .app {
    padding: 24px;
  }

  .header {
    border-radius: 18px;
  }
}