/* Cubic Bezier Transition */
/***
Login page
***/
/* bg color */
.d-none {
    display: none;
}

.d-block {
    display: block;
}

.register {
    background: #FCFDFF;
}

.login {
    background-color: #FDFEFF !important;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.login::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/login_bg.png);
    background-repeat: no-repeat;
    z-index: 0;
    background-position: 50%;
    background-size: cover;
}

.login .logo2 {
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 15px;
    text-align: center;
}

.login .logo {
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 15px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.role-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
}

.role-tab {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
}

.role-tab.active {
    color: #333333;
    font-weight: 600;
}

.role-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 32%;
    width: 36%;
    height: 4px;
    background: #b21f1f;
    border-radius: 12px 12px 0 0;
}

.login .form-control {
    border: 1px solid #90000A;
}

.role-tab:hover:not(.active) {
    color: #b21f1f;
}

.tabs-content .active {
    display: block !important;
}

.tabs-content .role-tabs-content {
    display: none;
}


.login .content {
    background-color: white;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -ms-border-radius: 7px;
    -o-border-radius: 7px;
    border-radius: 7px;
    width: 400px;
    padding: 30px;
    padding-top: 10px;
    overflow: hidden;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login .content h3 {
    color: #4db3a5;
    text-align: center;
    font-size: 28px;
    font-weight: 400 !important;
}

.login .content h4 {
    color: #555;
}

.login .content .hint {
    color: #999;
    padding: 0;
    margin: 15px 0 7px 0;
}

.login .content .login-form,
.login .content .forget-form {
    padding: 0px;
    margin: 0px;
}

.login .form-control {
    height: 48px;
}

.register .form-group-id .form-control {
    border: none;
    height: 43px;
    font-family: PingFang SC, PingFang SC;
    font-weight: 500;
    font-size: 24px;
    color: #333333;
    line-height: 22px;
    background: none;
}

.btn.red-606266:not(.btn-outline) {
    color: #ffffff;
    background: #90000A;
    border-radius: 4px 4px 4px 4px;
    /* padding: ; */
}

.btn .red-606266 .fileinput-button input {
    width: 100%;
    height: 100%;
}

.file_row_html {
    /* display: inline-block; */
}

.register .form-group-id .form-control .option {
    font-size: 20px;
    border: none;
}

.register .form-group-id .form-control:focus,
.register .form-group-id .form-control:active {
    border: none;
}

.register .form-group-id .form-control::-moz-placeholder {
    color: #333333;
    opacity: 1;
}

.register .form-group-id .form-control:-ms-input-placeholder {
    color: #333333;
}

.register .form-group-id .form-control::-webkit-input-placeholder {
    color: #333333;
}

.login .right-button {
    float: right;
}

.register .form-group-id select.form-control {
    padding-left: 9px;
    padding-right: 9px;
}

.login .content .forget-form {
    display: none;
}

.login .content .register-form {
    display: none;
}

.login .content .form-title {
    font-weight: 300;
    margin-bottom: 25px;
}

.login .content .form-actions {
    clear: both;
    border: 0px;
    border-bottom: 1px solid #eee;
    padding: 25px 30px 25px 30px;
    margin-left: -30px;
    margin-right: -30px;
}

.login .content .form-actions>.btn {
    margin-top: -2px;
}

.login-options {
    margin-top: 30px;
    margin-bottom: 30px;
    overflow: hidden;
}

.login-options h4 {
    float: left;
    font-weight: 600;
    font-size: 15px;
    color: #7d91aa !important;
}

.login-options .social-icons {
    float: right;
    padding-top: 3px;
}

.login-options .social-icons li a {
    border-radius: 15px 15px 15px 15px !important;
    -moz-border-radius: 15px 15px 15px 15px !important;
    -webkit-border-radius: 15px 15px 15px 15px !important;
}

.login .content .form-actions .checkbox {
    margin-left: 0;
    padding-left: 0;
}

.login .content .forget-form .form-actions {
    border: 0;
    margin-bottom: 0;
    padding-bottom: 20px;
}

.login .content .register-form .form-actions {
    border: 0;
    margin-bottom: 0;
    padding-bottom: 0px;
}

.login .content .form-actions .btn {
    margin-top: 1px;
}

.login .content .form-actions .btn {
    font-weight: 600;
    padding: 10px 20px !important;
}

.login .content .form-actions .btn-default {
    font-weight: 600;
    padding: 10px 25px !important;
    color: #6c7a8d;
    background-color: #ffffff;
    border: none;
}

.login .content .form-actions .btn-default:hover {
    background-color: #fafaff;
    color: #45b6af;
}

.login .content .forget-password {
    font-size: 14px;
    float: right;
    display: inline-block;
    margin-top: 10px;
}

.login .content .check {
    color: #8290a3;
}

.login .content .rememberme {
    margin-left: 8px;
    margin-right: 10px;
    margin-top: 10px;
}

.login .content .create-account {
    /* margin: 0 -40px -30px -40px;
    padding: 15px 0 17px 0;
    text-align: center;
    background-color: #6c7a8d;
    -webkit-border-radius: 0 0 7px 7px;
    -moz-border-radius: 0 0 7px 7px;
    -ms-border-radius: 0 0 7px 7px;
    -o-border-radius: 0 0 7px 7px;
    border-radius: 0 0 7px 7px; */
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 16px;
    color: #90000A;
    text-align: center;
}

.login-btn {
    width: 100%;
    background: #90000A;
    color: white;
    border: none;
    padding: 14px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    /* box-shadow: 0 4px 15px rgba(26, 42, 108, 0.3); */
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 42, 108, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.login .content .create-account>p {
    margin: 0;
}

.login .content .create-account p a {
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 16px;
    color: #90000A;
}

.login .content .create-account a {
    display: inline-block;
    margin-top: 15px;
}

/* footer copyright */
.login .copyright {
    text-align: center;
    margin: 0 auto 30px 0;
    padding: 10px;
    color: #7a8ca5;
    font-size: 13px;
}

@media (max-width: 440px) {

    /***
    Login page
    ***/
    .login .logo {
        margin-top: 10px;
    }

    .login .content {
        width: 280px;
        margin-top: 10px;
    }

    .login .content h3 {
        font-size: 22px;
    }

    .forget-password {
        display: inline-block;
        margin-top: 20px;
    }

    .login-options .social-icons {
        float: left;
        padding-top: 3px;
    }

    .login .checkbox {
        font-size: 13px;
    }
}

/* ----- */
.container-register {
    /* width: 100vw; */
    min-height: 100vh;
    background-image: url(../img/zhuce_bg.png);
    background-position: 100% 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.app-header {
    background: linear-gradient(180deg, #90000A 0%, rgba(144, 0, 10, 0) 100%);
    padding: 20px;
}

.container-c {
    max-width: 900px;
    width: 100%;
    margin: 60px auto;
    /* background: white; */
    /* border-radius: 16px; */
    /* box-shadow: 0 12px 30px rgba(65, 105, 225, 0.15); */
    /* overflow: hidden; */
}

.header {
    background: #90000A;
    background: linear-gradient(135deg, #90000A 0%, #3a5bc7 100%);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.header::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -30px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.header h1 {
    font-size: 28px;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.header p {
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* 注册类型选择器 */
.register-type {
    display: flex;
    justify-content: center;
    margin: 25px 0 15px;
    gap: 30px;
}

.type-option {
    cursor: pointer;
    text-align: center;
    padding: 15px 30px;
    border-radius: 12px;
    background: #f5f7ff;
    border: 2px solid #e0e4f5;
    transition: all 0.3s ease;
    width: 180px;
}

.type-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 107, 223, 0.15);
}

.type-option.active {
    background: #90000A;
    border-color: #3a5bc7;
    color: white;
    box-shadow: 0 5px 15px rgba(74, 107, 223, 0.3);
}

.type-option.active .type-icon {
    background: white;
    color: #90000A;
}

.type-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #90000A;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    transition: all 0.3s ease;
}

.type-text {
    font-size: 18px;
    font-weight: 600;
}

.stepper-container {
    padding: 48px 50px 10px;
    /* position: relative; */
}

.stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 50px;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.stepper-progress {
    position: absolute;
    top: 12px;
    left: 50px;
    height: 2px;
    background: #90000A;
    z-index: 2;
    transition: width 0.5s ease;
}

.step,
.step3,
.step2 {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 70px;
}

.step-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #9e9e9e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    /* border: 2px solid white; */
    /* box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1); */
}

.step.active .step-icon,
.step3.active .step-icon,
.step2.active .step-icon {
    background: #90000A;
    color: white;
    /* transform: scale(1.1); */
    /* box-shadow: 0 0 0 6px rgba(74, 107, 223, 0.2); */
}

.step.completed .step-icon,
.step2.completed .step-icon,
.step3.completed .step-icon {
    background: #4CAF50;
    color: white;
}

.step-text {
    font-size: 14px;
    font-weight: 500;
    color: #9e9e9e;
}

.step.active .step-text,
.step2.active .step-text,
.step3.active .step-text {
    color: #90000A;
    font-weight: 600;
}

.step.completed .step-text,
.step2.completed .step-text,
.step3.completed .step-text {
    color: #4CAF50;
}

.form-container {
    padding: 0 50px 40px;
    min-height: 400px;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s forwards;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 22px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.form-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #90000A;
    border-radius: 2px;
}

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

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-col {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #90000A;
    display: flex;
    align-items: center;
}

label .required {
    color: #e53935;
    margin-left: 4px;
}

input,
select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

input:focus,
select:focus {
    outline: none;
    border-color: #90000A;
    box-shadow: 0 0 0 4px rgba(74, 107, 223, 0.2);
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    /*gap: 8px;*/
}

.btn-prev {
    background: #f5f5f5;
    color: #666;
}

.btn-prev:hover {
    background: #e0e0e0;
}

.btn-prev i {
    margin-right: 5px;
}

.btn-next,
.btn-submit {
    background: #90000A;
    color: white;
    box-shadow: 0 4px 12px rgba(74, 107, 223, 0.3);
    margin: auto;
}

.btn-next:hover,
.btn-submit:hover {
    /* background: #3a5bc7; */
    transform: translateY(-2px);
    color: white;
    /* box-shadow: 0 6px 15px rgba(74, 107, 223, 0.4); */
}

.btn-next i {
    margin-left: 5px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.complete-container {
    text-align: center;
    /* padding: 30px 0; */
}

.complete-icon {
    margin: auto;
    font-size: 100px;
    color: #4CAF50;
    margin-bottom: 25px;
    position: relative;
}



.complete-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.complete-message {
    color: #666;
    max-width: 500px;
    margin: 0 auto 30px;
    line-height: 1.6;
    font-size: 17px;
}

.success-animation {
    animation: bounce 0.8s ease;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

.footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
    border-top: 1px solid #eee;
    background: #f9fafe;
}

.form-note {
    background: #f0f5ff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #90000A;
    font-size: 14px;
    color: #555;
}

.type-indicator {
    text-align: center;
    margin: 10px 0 20px;
    font-size: 16px;
    color: #90000A;
    font-weight: 500;
}


.form-group-id {
    width: 150px;
    margin: auto;
}

/*注册表单 自定义样式 */
.register .control-label {
    width: 100%;
    float: none;
}

.register .form-group .col-md-10 {
    width: 100%;
    float: none;
}

.register .form-group .btn.blue:not(.btn-outline) {
    background: #90000A;
    color: #ffffff;
    padding: 4px 24px;
    border-radius: 4px;
    font-size: 12px;
}

.register .form-group .fileinput-button input {
    width: 100%;
    height: 100%;
}

.register .form-group .form-control {
    width: 100% !important;
}

.register .form-group .finecms-file-ts {
    font-weight: 400;
    font-size: 12px;
    color: #606266;
}
.control-label .required, .form-group .required{
    padding-left: 0;
}