/* Global resets and base styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0e1118;
    font-family: 'Inter', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #f5f7fa;
}

#content-fail {
  text-align: center;
  padding: 24px 0;
}

.fail-title {
  font-weight: 800;
  margin: 0 0 14px 0;
}

.fail-sub {
  margin: 0 0 18px 0;
  opacity: 0.9;
}

.fail-foot {
  margin: 0;
  opacity: 0.75;
  font-weight: 600;
}

.fail-foot a {
  color: #4c6fff;
  font-weight: 600;
  text-decoration: none;
}
.fail-foot a:hover {
  text-decoration: underline;
}

.highlight {
    font-weight: 700; /* или 600 для semi‑bold */
    margin-top: 16px;
}

/* Card wrapper */
.card {
    width: 360px;
    background-color: #1b2433;
    border-radius: 12px;
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(31, 50, 90, 0.4);
    overflow: hidden;
}

.card-header {
    background-color: rgb(17, 17, 17);
    border-bottom: 1px solid #2a364a;
    padding: 0;
    overflow: hidden;
    height: 80px;
    text-align: center;
}

.card-header img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Content area */
.card-content {
    padding: 28px;
    text-align: center;
}

.card-content h1 {
    font-size: 24px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.card-content p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 8px;
}

/* Buttons */
.btn-confirm {
    width: 100%;
    background-color: #3a63d3;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.25s ease;
    margin-top: 16px;
}

.btn-confirm:hover {
    background-color: #2d50b2;
}

.btn-cancel {
    width: 100%;
    background-color: transparent;
    color: #94a3b8;
    border: 1px solid #3a63d3;
    border-radius: 6px;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 12px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.btn-cancel:hover {
    background-color: #2d50b2;
    color: #ffffff;
}