* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
    min-height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    background: #f0f6ff;
    background: -webkit-linear-gradient(140deg, #f0f6ff 0%, #f6f9ff 48%, #f8fbff 100%);
    background: linear-gradient(140deg, #f0f6ff 0%, #f6f9ff 48%, #f8fbff 100%);
    text-align: center;
    padding: 10px 24px;
    overflow: auto;
}

.register-shell {
    width: 100%;
    max-width: 1140px;
    min-height: calc(100vh - 20px);
    border-radius: 22px;
    overflow: hidden;
    margin: 0;
    flex-shrink: 0;
    background: #ffffff;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #dfe8f5;
    -webkit-box-shadow: 0 20px 50px rgba(26, 78, 153, 0.16);
    box-shadow: 0 20px 50px rgba(26, 78, 153, 0.16);
    text-align: left;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    align-items: stretch;
}

.brand-panel,
.form-panel {
    font-size: 15px;
}

.brand-panel {
    width: 47%;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    padding: 36px 32px;
    background-color: #2f75c8;
    background-image: -webkit-linear-gradient(145deg, rgba(33, 98, 181, 0.78), rgba(79, 148, 223, 0.70));
    background-image: linear-gradient(145deg, rgba(33, 98, 181, 0.78), rgba(79, 148, 223, 0.70));
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.brand-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../../compound/blue/images/login/11.png") center center no-repeat;
    background-size: cover;
    opacity: 0.35;
    pointer-events: none;
}

.brand-title {
    position: relative;
    z-index: 1;
    font-size: 30px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-desc {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.65;
}

.brand-list {
    position: relative;
    z-index: 1;
    list-style: none;
    margin-top: 24px;
}

.brand-list li {
    background: rgba(255, 255, 255, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 10px;
    padding: 11px 12px;
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 12px;
}

.brand-tag {
    position: relative;
    z-index: 1;
    display: inline-block;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.36);
    padding: 6px 12px;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.form-panel {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    width: 53%;
    padding: 28px 32px;
    background: #f7faff;
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.96), rgba(241, 247, 255, 0.92));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 247, 255, 0.92));
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.register-box {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e8eef7;
    -webkit-box-shadow: 0 10px 28px rgba(45, 103, 180, 0.09);
    box-shadow: 0 10px 28px rgba(45, 103, 180, 0.09);
    padding: 28px 28px 20px;
}

.register-title {
    text-align: center;
    font-size: 28px;
    color: #22324a;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.register-desc {
    text-align: center;
    color: #6b7c93;
    font-size: 14px;
    margin-bottom: 16px;
}

.input-item {
    margin-bottom: 12px;
}

.input-item label {
    display: block;
    color: #31435c;
    font-size: 15px;
    margin-bottom: 6px;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 12px;
    color: #2f7ed2;
    font-size: 16px;
    z-index: 1;
}

.input-item input {
    width: 100%;
    height: 44px;
    padding: 0 18px 0 42px;
    border: 1px solid #d8e2ef;
    border-radius: 10px;
    font-size: 15px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    outline: none;
    background: #f8fbff;
    color: #2d3f57;
}

.pwd-input {
    padding-right: 42px !important;
}

.input-item input:focus {
    border-color: #4b93e7;
    background: #ffffff;
}

.input-item input.input-error {
    border-color: #f06b6b;
    background: #fff9f9;
}

.input-item input.input-valid {
    border-color: #59b57a;
    background: #f8fffb;
}

.code-input {
    padding-right: 120px !important;
}

.code-btn {
    position: absolute;
    right: 6px;
    top: 6px;
    height: 32px;
    width: 108px;
    background: #4a90e2;
    background: -webkit-linear-gradient(135deg, #4a90e2, #357dd2);
    background: linear-gradient(135deg, #4a90e2, #357dd2);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}

.pwd-toggle {
    position: absolute;
    right: 10px;
    top: 10px;
    border: none;
    background: transparent;
    color: #6b7c93;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 2px;
}

.code-btn:disabled {
    background: #aaa;
}

.error-tip {
    color: #fa5656;
    font-size: 13px;
    line-height: 16px;
    min-height: 16px;
    margin-top: 2px;
    visibility: hidden;
    display: block;
    padding-left: 2px;
}

.form-status {
    min-height: 20px;
    margin-top: 6px;
    font-size: 14px;
    color: #5f7491;
    text-align: center;
}

.form-status.status-error {
    color: #e35656;
}

.form-status.status-success {
    color: #2f8c56;
}

.register-btn {
    width: 100%;
    height: 46px;
    background: #4a90e2;
    background: -webkit-linear-gradient(135deg, #4a90e2, #2f75c8);
    background: linear-gradient(135deg, #4a90e2, #2f75c8);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 6px;
}

.login-link {
    text-align: center;
    margin-top: 14px;
    font-size: 14px;
    color: #666;
}

.login-link a {
    color: #2f75c8;
    text-decoration: none;
    font-weight: 500;
}

.register-dialog-mask {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 35, 62, 0.45);
}

.register-dialog-mask.is-open {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
}

.register-dialog {
    width: 100%;
    max-width: 360px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #dfe8f5;
    -webkit-box-shadow: 0 18px 40px rgba(26, 78, 153, 0.22);
    box-shadow: 0 18px 40px rgba(26, 78, 153, 0.22);
    overflow: hidden;
    text-align: center;
}

.register-dialog-hd {
    padding: 18px 20px 0;
    font-size: 18px;
    font-weight: 700;
    color: #22324a;
}

.register-dialog-bd {
    padding: 14px 22px 20px;
    font-size: 14px;
    line-height: 1.7;
    color: #5f7491;
    word-break: break-word;
}

.register-dialog-bd.is-success {
    color: #2f8c56;
}

.register-dialog-bd.is-error {
    color: #e35656;
}

.register-dialog-ft {
    padding: 0 20px 18px;
}

.register-dialog-btn {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: #4a90e2;
    background: -webkit-linear-gradient(135deg, #4a90e2, #2f75c8);
    background: linear-gradient(135deg, #4a90e2, #2f75c8);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 960px) {
    body {
        padding: 8px 12px;
    }

    .register-shell {
        max-width: 560px;
        min-height: calc(100vh - 16px);
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        flex-direction: column;
    }

    .brand-panel {
        display: none;
    }

    .form-panel {
        width: 100%;
        padding: 16px;
    }

    .register-box {
        max-width: none;
        padding: 22px 18px 16px;
        border-radius: 16px;
    }

    .register-title {
        font-size: 26px;
    }
}
