/* Avukat Alo — Shared Design System */
:root {
  --brand:       #0055d4;
  --brand-dark:  #0044bb;
  --bg:          #f0f4f8;
  --card-bg:     #ffffff;
  --card-radius: 14px;
  --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --input-border:#dde3ee;
  --text-muted:  #8a9ab5;
  --font:        -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* Base */
body {
  font-family: var(--font);
  background: var(--bg);
  color: #111;
  -webkit-font-smoothing: antialiased;
}

/* Navbar */
.app-navbar {
  background: var(--brand);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-navbar img   { height: 28px; }
.app-navbar a,
.app-navbar span  { color: rgba(255,255,255,0.9); text-decoration: none; font-size: 14px; }
.app-navbar a:hover { color: #fff; }
.app-navbar .brand { color: #fff; font-size: 22px; }

/* Brand wordmark — conversation and justice mark with a two-tone wordmark */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.brand:hover { color: inherit; text-decoration: none; }
.brand-mark {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  display: block;
}
.brand-lg { font-size: 34px; }

/* Cards */
.app-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border: none;
  padding: 20px;
  margin-bottom: 16px;
}
.app-card-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Override Bootstrap card */
.card {
  border: none !important;
  border-radius: var(--card-radius) !important;
  box-shadow: var(--card-shadow) !important;
}
.card-header {
  background: transparent;
  border-bottom: 1px solid #f0f4f8;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 20px;
}

/* Buttons */
.btn {
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
}
.btn-primary {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--brand-dark) !important;
  border-color: var(--brand-dark) !important;
}
.btn-outline-primary {
  color: var(--brand) !important;
  border-color: var(--brand) !important;
}
.btn-outline-primary:hover {
  background: var(--brand) !important;
  color: #fff !important;
}
.btn-lg { padding: 12px 24px; font-size: 15px; }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }

/* Forms */
.form-control, .form-select {
  border-radius: 8px !important;
  border-color: var(--input-border) !important;
  font-size: 14px;
  padding: 10px 12px;
  background: #fafbfd;
  color: #111;
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(0, 85, 212, 0.12) !important;
  background: #fff;
}
.form-label {
  font-size: 12px;
  font-weight: 700;
  color: #555;
  margin-bottom: 5px;
}
.input-group-text {
  background: #f0f4f8;
  border-color: var(--input-border);
  border-radius: 8px 0 0 8px !important;
  font-size: 13px;
  color: var(--text-muted);
}

/* Alerts */
.alert {
  border: none;
  border-radius: 10px;
  font-size: 14px;
}
.alert-success { background: #dcfce7; color: #15803d; }
.alert-danger  { background: #fee2e2; color: #b91c1c; }

/* Badges */
.badge {
  border-radius: 6px;
  font-weight: 600;
  font-size: 11px;
  padding: 3px 8px;
}
.bg-success { background: #dcfce7 !important; color: #15803d !important; }
.bg-secondary { background: #f1f5f9 !important; color: #64748b !important; }

/* Tables */
.table {
  font-size: 14px;
}
.table thead th {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #eef2f8;
  padding: 10px 12px;
}
.table td { padding: 12px; border-color: #f4f6fa; vertical-align: middle; }
.table-hover tbody tr:hover { background: #f8faff; }

/* Profile page specific */
.profile-header-gradient {
  background: linear-gradient(135deg, var(--brand), #1a3a6e);
  height: 90px;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
}

/* WhatsApp button */
.btn-wa {
  background: #25D366;
  border: none;
  color: #fff;
  font-weight: 700;
}
.btn-wa:hover { background: #1ebe5a; color: #fff; }

/* Expertise tags */
.tag {
  display: inline-block;
  background: #e8f0fe;
  color: var(--brand);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  margin: 2px;
}

/* URL box */
.url-box {
  background: #e8f0fe;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 13px;
  color: var(--brand);
  word-break: break-all;
}

/* Section title (like mobile) */
.section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin: 20px 0 8px;
}

/* Divider */
.app-divider { height: 1px; background: #f0f4f8; margin: 0 -20px; }

/* Two distinct words on light pages and blue navigation bars. */
.brand .brand-name, .brand .brand-name span { font-size: inherit; }
.brand .brand-avukat { color: #102a43; }
.brand .brand-alo { color: #087f8c; }
.navbar-dark .brand .brand-avukat, .app-navbar .brand .brand-avukat { color: #ffffff; }
.navbar-dark .brand .brand-alo, .app-navbar .brand .brand-alo { color: #75e0d1; }
