:root {
  --bg: #08090b;
  --surface: #111318;
  --surface2: #181b21;
  --line: #2b3039;
  --text: #f7f8fa;
  --muted: #929aa7;
  --red: #ef3038;
  --red2: #bd1821;
  --ok: #55d990;
  --danger: #ff7078;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(
      circle at 85% -10%,
      rgba(239, 48, 56, .13),
      transparent 32%
    ),
    var(--bg);
  color: var(--text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Tahoma,
    sans-serif;
}

body {
  min-height: 100vh;
  padding:
    env(safe-area-inset-top)
    14px
    calc(18px + env(safe-area-inset-bottom));
}

button,
input {
  font: inherit;
}

#app {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

.screen {
  min-height: calc(100vh - 32px);
}

.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.logo {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 34px;
  background:
    linear-gradient(
      145deg,
      #1c1014,
      #0b0c0f 64%
    );
  border:
    1px solid
    rgba(255, 76, 86, .54);
  box-shadow:
    0 24px 70px
    rgba(164, 15, 26, .24);
}

.logo span {
  font-size: 31px;
  font-weight: 900;
  letter-spacing: 2.4px;
}

.tagline {
  margin-top: 22px;
  color: #c7cbd2;
  font-size: 12px;
}

.status {
  min-height: 18px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 11px;
}

.loader {
  width: 184px;
  height: 4px;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 99px;
  background: #232831;
}

.loader i {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      #8d1119,
      var(--red),
      #ff626b
    );
  animation: loading 1.15s infinite;
}

@keyframes loading {
  from {
    transform: translateX(300%);
  }

  to {
    transform: translateX(-160%);
  }
}

.header {
  padding: 17px 4px 14px;
}

.brand {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.subtitle {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.card {
  margin-bottom: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background:
    linear-gradient(
      180deg,
      rgba(24, 27, 33, .98),
      rgba(15, 17, 21, .98)
    );
}

.card h1 {
  margin: 0 0 7px;
  font-size: 21px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.field-label {
  display: block;
  margin: 14px 3px 7px;
  color: #c9ced6;
  font-size: 11px;
}

.field {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  background: #11141a;
  color: var(--text);
}

.field:focus {
  border-color: #555e6d;
}

.gender-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.gender {
  min-height: 47px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface2);
  color: var(--text);
}

.gender.active {
  border-color: var(--red);
  background: rgba(239, 48, 56, .11);
}

.primary {
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
  border: 1px solid #f04c53;
  border-radius: 14px;
  background:
    linear-gradient(
      180deg,
      #f13b43,
      var(--red2)
    );
  color: #fff;
  font-weight: 800;
}

.primary:disabled {
  opacity: .48;
}

.identity {
  margin-top: 13px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #12151a;
}

.identity strong {
  display: block;
  font-size: 15px;
}

.identity span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  direction: ltr;
}

.success {
  color: var(--ok);
}

.error {
  color: var(--danger);
}

.notice {
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}


/* ATLET MANAGEMENT ATHLETES V1 */

.management-module {
  overflow: hidden;
}

.management-module-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.management-module-head h1 {
  margin-bottom: 6px;
}

.management-count {
  min-width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 44, 44, 0.12);
  border: 1px solid rgba(255, 44, 44, 0.28);
  font-size: 24px;
  font-weight: 800;
}

.management-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.management-empty {
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  line-height: 1.8;
}

.management-empty.error {
  border-color: rgba(255, 70, 70, 0.3);
}

.athlete-row {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.athlete-row-main,
.athlete-row-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.athlete-row-main strong {
  font-size: 15px;
}

.athlete-row-main span,
.athlete-row-meta {
  font-size: 12px;
  opacity: 0.72;
}

.athlete-row-meta {
  margin-top: 9px;
}

/* ATLET MANAGEMENT ATHLETE CREATE V1 */

.management-create-form {
  display: grid;
  gap: 12px;
  margin: 18px 0 20px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background:
    rgba(255, 255, 255, 0.025);
}

.management-create-title {
  font-size: 15px;
  font-weight: 700;
}

.management-field {
  display: grid;
  gap: 7px;
}

.management-field span {
  font-size: 12px;
  opacity: 0.72;
}

.management-field input,
.management-field select {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #111;
  color: #fff;
  padding: 0 12px;
  font: inherit;
  outline: none;
}

.management-field input:focus,
.management-field select:focus {
  border-color: rgba(255, 255, 255, 0.32);
}

.management-create-button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: #e51b23;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.management-create-button:disabled {
  opacity: 0.55;
  cursor: default;
}

.management-create-status {
  min-height: 20px;
  font-size: 12px;
  line-height: 1.7;
}

.management-create-status.error {
  opacity: 0.82;
}
