* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f3f5f7;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
}

.nt-header {
    background: #ffffff;
    border-bottom: 1px solid #dfe3e7;
    padding: 18px 0;
}

.nt-header-inner {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nt-brand {
    font-size: 24px;
    font-weight: 700;
    color: #164f86;
    text-decoration: none;
}

.nt-brand span {
    color: #555;
    font-weight: 400;
}

.nt-login-link {
    color: #164f86;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.nt-login-link:hover {
    text-decoration: underline;
}

.nt-hero {
    background: #164f86;
    color: #fff;
    text-align: center;
    padding: 45px 20px 80px;
}

.nt-hero h1 {
    margin: 0 0 12px;
    font-size: 34px;
    font-weight: 600;
}

.nt-hero p {
    margin: 0 auto;
    max-width: 700px;
    font-size: 17px;
    line-height: 1.6;
    opacity: .95;
}

.nt-wrapper {
    width: 92%;
    max-width: 760px;
    margin: -45px auto 60px;
}

.nt-card {
    background: #fff;
    border-radius: 8px;
    padding: 38px 42px;
    box-shadow: 0 5px 22px rgba(0,0,0,.10);
    border: 1px solid #e5e8eb;
}

.nt-card h2 {
    margin: 0 0 8px;
    color: #164f86;
    font-size: 25px;
    text-align: center;
}

.nt-card-intro {
    text-align: center;
    color: #666;
    line-height: 1.6;
    margin: 0 0 30px;
}

.form-row {
    display: flex;
    gap: 18px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group.half {
    width: 50%;
}

label {
    display: block;
    margin-bottom: 7px;
    color: #444;
    font-size: 14px;
    font-weight: 600;
}

.required {
    color: #b42318;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccd2d8;
    border-radius: 5px;
    background: #fff;
    font-size: 15px;
    color: #333;
    transition: border-color .2s, box-shadow .2s;
}

input,
select {
    height: 46px;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #1b67a5;
    box-shadow: 0 0 0 3px rgba(27,103,165,.12);
}

.form-help {
    margin-top: 6px;
    color: #777;
    font-size: 12px;
}

.nt-button {
    width: 100%;
    border: none;
    border-radius: 5px;
    padding: 14px 20px;
    background: #164f86;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.nt-button:hover {
    background: #103f6c;
}

.message-error {
    background: #fff2f1;
    border: 1px solid #f2c9c5;
    border-left: 4px solid #b42318;
    color: #7a271a;
    padding: 15px 18px;
    margin-bottom: 25px;
    border-radius: 4px;
    line-height: 1.5;
}

.message-success {
    background: #effaf3;
    border: 1px solid #b7dfc3;
    border-left: 4px solid #2d7a46;
    color: #205d35;
    padding: 18px;
    border-radius: 4px;
    line-height: 1.6;
}

.dev-link {
    margin-top: 22px;
    background: #fff8df;
    border: 1px solid #ecd68c;
    padding: 15px;
    border-radius: 4px;
    color: #6b5710;
    font-size: 13px;
    line-height: 1.5;
    word-break: break-all;
}

.dev-link a {
    color: #164f86;
}

.nt-footer {
    text-align: center;
    color: #777;
    font-size: 13px;
    padding: 0 20px 35px;
}

.nt-footer a {
    color: #164f86;
    text-decoration: none;
}

@media (max-width: 650px) {
    .nt-header-inner {
        display: block;
        text-align: center;
    }

    .nt-login-link {
        display: inline-block;
        margin-top: 10px;
    }

    .nt-hero {
        padding: 35px 20px 70px;
    }

    .nt-hero h1 {
        font-size: 28px;
    }

    .nt-card {
        padding: 28px 22px;
    }

    .form-row {
        display: block;
    }

    .form-group.half {
        width: 100%;
    }
}
