/* style.css — сучасний мобільний дизайн 2025, тільки білий/смарагдовий/чорний */

:root {
  --white:        #ffffff;
  --emerald:      #059669;
  --emerald-light:#ecfdf5;
  --emerald-dark: #047857;
  --black:        #0f172a;
  --gray-50:      #f8fafc;
  --gray-100:     #f1f5f9;
  --gray-200:     #e2e8f0;
  --gray-300:     #cbd5e1;
  --gray-500:     #64748b;
  --gray-700:     #334155;
  --radius-sm:    12px;
  --radius-md:    20px;
  --radius-lg:    28px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.10);
  --transition:   all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 100px;
}

/* Header */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
}

.app-logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.8px;
  background: linear-gradient(90deg, var(--emerald), #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Main padding under fixed header */
main {
  padding-top: 76px;
}

.container {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 16px 0;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.card:active {
  transform: scale(0.98);
}

/* Buttons */
.btn-primary {
  width: 100%;
  height: 56px;
  background: var(--emerald);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 3px 12px rgba(5,150,105,0.22);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(5,150,105,0.28);
}

/* Inputs & Select */
input, select, textarea {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 16px;
  transition: var(--transition);
}

input:focus, select:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px rgba(5,150,105,0.12);
}

/* Status badges */
.status-badge {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.status-pending    { background: #fefce8; color: #ca8a04; }
.status-confirmed  { background: var(--emerald-light); color: var(--emerald); }
.status-completed  { background: #f0fdf4; color: #15803d; }
.status-cancelled  { background: #fee2e2; color: #b91c1c; }

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-top: 1px solid var(--gray-100);
  display: flex;
  box-shadow: 0 -3px 16px rgba(0,0,0,0.07);
  z-index: 1000;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.nav-item.active {
  color: var(--emerald);
}

.nav-item.active i {
  transform: scale(1.18);
}

.nav-item i {
  font-size: 26px;
  margin-bottom: 4px;
  transition: var(--transition);
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.4px;
}

h2 { font-size: 28px; margin: 24px 0 16px; }
h3 { font-size: 22px; margin: 20px 0 12px; }
h4 { font-size: 17px; margin: 24px 0 12px; color: var(--gray-700); }

label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
}