.am-course-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #151515;
}

.am-course-stat__icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #505761;
}

.am-course-stat__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.am-course-stat__value {
    font-weight: 600;
}

.am-login,
.am-login * {
    box-sizing: border-box;
}

.am-login {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 52px 56px;
    background: #fff;
    border: 1px solid #e1e3e8;
    border-radius: 18px;
    box-shadow: 0 16px 45px rgba(18, 32, 70, .09);
    color: #111;
    font-family: "Inter", sans-serif;
}

.am-login__notice {
    margin-bottom: 22px;
    padding: 13px 15px;
    color: #8b1e2d;
    background: #fff1f3;
    border: 1px solid #f3c6cd;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.45;
}

.am-login__field {
    margin-bottom: 24px;
}

.am-login__field > label {
    display: block;
    margin: 0 0 10px;
    color: #111;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.am-login__field input[type="text"],
.am-login__field input[type="password"] {
    display: block;
    width: 100%;
    height: 56px;
    margin: 0;
    padding: 0 17px;
    color: #111;
    background: #fff;
    border: 1px solid #ccd0d7;
    border-radius: 9px;
    outline: 0;
    box-shadow: none;
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.am-login__field input:focus {
    border-color: #2144e8;
    box-shadow: 0 0 0 3px rgba(33, 68, 232, .12);
}

.am-login__password {
    position: relative;
}

.am-login__password input {
    padding-right: 52px !important;
}

.am-login__toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 40px;
    height: 40px;
    padding: 0;
    transform: translateY(-50%);
    color: #263247;
    background: transparent;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 19px;
}

.am-login__options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 2px 0 26px;
    font-size: 14px;
}

.am-login__remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.am-login__remember input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #2144e8;
}

.am-login a {
    color: #2144e8;
    text-decoration: none;
}

.am-login a:hover {
    text-decoration: underline;
}

.am-login__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 14px 22px;
    color: #fff !important;
    background: #2144e8;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color .2s ease, transform .2s ease;
}

.am-login__submit:hover {
    color: #fff;
    background: #1838cd;
    transform: translateY(-2px);
}

.am-login__register {
    margin: 24px 0 0;
    text-align: center;
    font-size: 15px;
}

.am-login--authenticated {
    text-align: center;
}

@media (max-width: 767px) {
    .am-login {
        padding: 34px 23px;
        border-radius: 14px;
    }

    .am-login__options {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}
