html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f6f4ef;
    color: #222;
}

.suc-page {
    box-sizing: border-box;
    min-height: 100vh;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.suc-box {
    box-sizing: border-box;
    width: 100%;
    max-width: 800px;
    padding: 42px;
    text-align: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
}

.suc-logo {
    margin-bottom: 50px;
}

.suc-logo:empty {
    display: none;
}

.suc-logo img {
    display: block;
    max-width: 240px;
    max-height: 120px;
    width: auto;
    height: auto;
    margin: 0 auto;
}

.suc-title {
    margin: 0 0 50px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
}

.suc-text {
    font-size: 18px;
    line-height: 1.55;
}

.suc-text p {
    margin: 0 0 22px;
}

.suc-login {
    margin-top: 20px;
}

.suc-button,
.suc-login-form input[type="submit"] {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 24px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border: 0;
    border-radius: 6px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.suc-button:hover,
.suc-login-form input[type="submit"]:hover {
    background: #333;
    color: #fff;
}

.suc-login-form {
    max-width: 360px;
    margin: 25px auto 0;
    text-align: left;
}

.suc-login-form p {
    margin: 0 0 15px;
}

.suc-login-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.suc-login-form input[type="text"],
.suc-login-form input[type="password"] {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #222;
    font: inherit;
}

.suc-login-form .login-remember label {
    display: inline;
    font-weight: 400;
}

.suc-login-form p.login-submit {
    text-align: center;
}

@media (max-width: 600px) {
    .suc-page {
        padding: 18px;
    }

    .suc-box {
        padding: 30px 22px;
    }

    .suc-text {
        font-size: 16px;
    }
}
