.container {
    background-color: #F1FCFF;
    padding-bottom: 4.375rem;
}

header {
    background-color: white;
    color: black;
    padding: 1rem;
    position: relative;
}

.back-button {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: black;
    text-decoration: none;
    font-size: 1.5rem;
}

h1 {
    margin: 0;
    font-size: 1.2rem;
    text-align: center;
}

main {
    padding: 1rem;
    background-color: #ffffff;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.1);
}

h2 {
    color: white;
    font-size: 1rem;
    background: url(/static/img/index/beijingtu1.png) no-repeat center left;
    background-size: 100%;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
}

.top-icon {
    height: 1.5rem;
    width: 1.5rem;
    margin-right: 0.5rem;
}

.form-group {
    margin-bottom: 2.1875rem;
}
label {
    display: inline-block;
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.3125rem;
    text-align: left;
    padding-right: 0.625rem;
}

input {
    width: 100%;
    height: 3.75rem;
    padding: 0 0.2rem;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    transition: border-color 0.3s ease;
    font-weight: normal;
    font-size: 1rem;
}


input::placeholder {
    color: #cccccc;
}

.required-note {
    color: red;
    font-size: 0.8rem;
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.1875rem;
}

.form-row .form-group {
    flex-grow: 1;
    margin-right: 1rem;
    margin-bottom: 0;
}

.required {
    color: red;
}

input:focus {
    border-color: #1E90FF;
}

input.invalid {
    border-color: red;
}

#sendVerificationCode {
    background-color: #cccccc;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 0.25rem;
    cursor: not-allowed;
    align-self: flex-end;
    font-size: 0.8rem;
    height: 2.6rem;
    word-break: keep-all;
}

#sendVerificationCode.active {
    background-color: #1E90FF;
    cursor: pointer;
}

.password-toggle {
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
    cursor: pointer;
}

.submit-button {
    width: 100%;
    background-color: #1E90FF;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
    height: 3.75rem;
}

.terms-agreement {
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    margin-top: 1rem;
}

.terms-agreement a {
    color: #1e3799;
}
