@font-face {
    font-family: "Titillium Web";
    src: url("../fonts/TitilliumWeb-Regular.woff2") format("woff2"),
         url("../fonts/TitilliumWeb-Regular.woff") format("woff");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    background: #231F20;
    color: #fff;
    font: 16px/1.25 "Titillium Web", sans-serif;
}

.card-check {
    width: 258px;
    max-width: 100%;
    margin: 0 auto;
    padding: 4px;
    text-align: center;
}

.card-check input,
.card-check button {
    display: block;
    width: 100%;
    height: 45px;
    border: 0;
    border-radius: 9px;
    padding: 0 10px;
    color: #000;
    font: inherit;
    font-size: 18px;
    text-align: center;
}

.card-check input {
    background: #fff;
}

.card-check input::placeholder {
    color: #000;
    opacity: 1;
}

.card-check button {
    margin-top: 15px;
    background: #E69412;
    cursor: pointer;
}

.card-check input:focus-visible,
.card-check button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.card-check button:disabled {
    cursor: wait;
    opacity: 0.75;
}

.card-check-result {
    min-height: 60px;
    margin: 8px 0 0;
    overflow-wrap: break-word;
}

.card-check-result[data-state="error"] {
    color: #ff4d4d;
}

.card-check-result[data-state="valid"] {
    color: #7edc8a;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
