@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');

:root {
  --spl-ink: #153c3f;
  --spl-cyan: #00c8e1;
  --spl-mid: #146e82;
  --spl-text: #373737;
  --spl-line: #e4ecec;
  --spl-bg: #f4f7f7;
}

* { box-sizing: border-box; outline: none; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Tajawal, Tahoma, sans-serif;
  color: var(--spl-text);
  background: var(--spl-bg);
  min-height: 100vh;
}

.topbar {
  background: var(--spl-ink);
  color: #fff;
  padding: 10px 28px;
  font-size: 14px;
}
.topbar a { color: #fff; text-decoration: none; }

.accent { height: 4px; background: var(--spl-mid); }

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: #fff;
  border-bottom: 1px solid var(--spl-line);
}
.header img { height: 52px; width: auto; }
.exit {
  background: var(--spl-mid);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.page {
  width: min(640px, calc(100% - 24px));
  margin: 24px auto 110px;
}

.card {
  background: #fff;
  border: 1px solid var(--spl-line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(21, 60, 63, 0.06);
  padding: 28px 24px;
  margin-bottom: 16px;
  text-align: right;
}
.card h2 {
  margin: 0 0 16px;
  color: var(--spl-ink);
  font-size: 22px;
  font-weight: 700;
}
.card h3 { font-weight: 500; line-height: 1.6; color: var(--spl-ink); }
.meta {
  width: 100%;
  border-collapse: collapse;
}
.meta th, .meta td {
  padding: 10px 0;
  border-bottom: 1px solid var(--spl-line);
  font-size: 15px;
}
.meta th { color: var(--spl-ink); font-weight: 700; width: 38%; }
.meta tr:last-child th, .meta tr:last-child td { border-bottom: 0; }

.err { color: #b42318; font-weight: 500; margin: 0 0 12px; }

.fld { margin: 14px 0; }
.row { display: flex; gap: 12px; }
.row > div { flex: 1; }

.textinput, .select {
  width: 100%;
  border: 1px solid #c5d4d6;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  color: var(--spl-ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  text-align: right;
}
.textinput:focus, .select:focus { border-color: var(--spl-cyan); }
.phone {
  display: flex;
  align-items: center;
  direction: ltr;
  text-align: left;
  padding: 0 10px;
}
.phone .prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--spl-ink);
  font-weight: 700;
  padding-inline-end: 8px;
  border-inline-end: 1px solid var(--spl-line);
}
.phone img { width: 26px; }
.phone input {
  border: 0;
  background: transparent;
  flex: 1;
  padding: 12px 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
}

.actions { text-align: left; margin-top: 22px; }
.btn {
  background: var(--spl-cyan);
  color: var(--spl-ink);
  border: 0;
  border-radius: 8px;
  padding: 12px 28px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}
.btn + .btn { margin-inline-start: 8px; }

.center { text-align: center; }
.center img.ok { width: 96px; }

.foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--spl-ink);
  color: #fff;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  padding: 12px 16px;
}

@media (max-width: 640px) {
  .header, .topbar { padding-inline: 14px; }
  .row { flex-direction: column; }
  .card { padding: 20px 16px; }
}
