* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background: #f3f5f8;
    color: #20242a;
}

.container {
    width: 100%;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.screen {
    display: none;
    width: 100%;
    max-width: 420px;
}

.screen.active {
    display: block;
}

.card {
    padding: 32px 26px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, .08);
}

.logo {
    display: block;
    max-width: 120px;
    max-height: 90px;
    object-fit: contain;
    margin: 0 auto 22px;
}

h1 {
    margin: 0 0 12px;
    text-align: center;
    font-size: 25px;
}

.description {
    margin: 0 0 24px;
    text-align: center;
    color: #626b76;
    line-height: 1.5;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

label {
    font-weight: 600;
    font-size: 14px;
}

input {
    width: 100%;
    min-width: 0;
    padding: 14px 15px;
    border: 1px solid #ccd2da;
    border-radius: 10px;
    font-size: 17px;
    outline: none;
}

input:focus {
    border-color: #526fe5;
    box-shadow: 0 0 0 3px rgba(82, 111, 229, .12);
}

input.invalid {
    border-color: #d93025;
    background: #fff8f7;
}

.phone-field {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.country-code {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 0 12px;
    border: 1px solid #ccd2da;
    border-radius: 10px;
    background: #f7f8fa;
    font-size: 17px;
    font-weight: 600;
}

.field-error {
    min-height: 18px;
    margin: 0;
    color: #d93025;
    font-size: 13px;
    line-height: 1.4;
}

button {
    width: 100%;
    margin-top: 8px;
    padding: 14px 18px;
    border: 0;
    border-radius: 10px;
    background: #315be8;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

button:disabled {
    background: #aeb8d5;
    cursor: not-allowed;
}

.success {
    text-align: center;
}

.success-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #e5f6eb;
    color: #188b45;
    font-size: 36px;
}