/* ========================================
   Industrial Clean Theme - Auth Pages
   Login / Register / Register Result
   ======================================== */

/* === Auth Section === */
.zh_auth_section {
    min-height: calc(100vh - var(--zh-header-height) - 300px);
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: var(--zh-gray-100);
}

.zh_auth_wrapper {
    width: 100%;
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Auth Card (Two-column) === */
.zh_auth_card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--zh-white);
    border: 1px solid var(--zh-gray-200);
    overflow: hidden;
}

/* Left Decoration Panel */
.zh_auth_left {
    background: var(--zh-primary);
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.zh_auth_left::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    right: -80px;
    top: -80px;
}

.zh_auth_left::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    left: -60px;
    bottom: -60px;
}

.zh_auth_left_content {
    position: relative;
    z-index: 1;
}

.zh_auth_logo {
    width: 60px;
    height: 60px;
    background: var(--zh-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.zh_auth_logo i {
    font-size: 24px;
    color: var(--zh-primary);
}

.zh_auth_welcome {
    font-family: var(--zh-font-heading);
    font-size: 32px;
    font-weight: 400;
    color: var(--zh-white);
    margin-bottom: 14px;
    line-height: 1.2;
}

.zh_auth_desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 36px;
}

.zh_auth_features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.zh_auth_features li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.zh_auth_features li i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zh-white);
    font-size: 14px;
    flex-shrink: 0;
}

/* Right Form Panel */
.zh_auth_right {
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.zh_auth_header {
    margin-bottom: 28px;
}

.zh_auth_title {
    font-family: var(--zh-font-heading);
    font-size: 26px;
    font-weight: 400;
    color: var(--zh-dark);
    margin-bottom: 6px;
}

.zh_auth_subtitle {
    font-size: 14px;
    color: var(--zh-gray-500);
}

/* === Error Alert === */
.zh_auth_alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.zh_auth_alert_title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 6px;
}

.zh_auth_alert_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zh_auth_alert_list li {
    font-size: 13px;
    color: #b91c1c;
    line-height: 1.6;
}

/* === Form Styles === */
.zh_auth_form_group {
    margin-bottom: 20px;
}

.zh_auth_label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--zh-dark);
    margin-bottom: 8px;
}

.zh_auth_input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--zh-gray-200);
    font-size: 14px;
    color: var(--zh-dark);
    background: var(--zh-white);
    transition: border-color 0.2s;
    outline: none;
    font-family: inherit;
}

.zh_auth_input:focus {
    border-color: var(--zh-primary);
}

.zh_auth_input::placeholder {
    color: var(--zh-gray-400);
}

/* Remember Checkbox */
.zh_auth_remember {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.zh_auth_checkbox_wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.zh_auth_checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--zh-gray-300);
    appearance: none;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    background: var(--zh-white);
}

.zh_auth_checkbox:checked {
    background: var(--zh-primary);
    border-color: var(--zh-primary);
}

.zh_auth_checkbox:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    color: var(--zh-white);
}

.zh_auth_checkbox_text {
    font-size: 14px;
    color: var(--zh-gray-500);
}

/* Submit Button */
.zh_auth_submit {
    width: 100%;
    padding: 14px 24px;
    background: var(--zh-primary);
    color: var(--zh-white);
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
}

.zh_auth_submit:hover {
    background: var(--zh-primary-dark);
}

/* Footer Link */
.zh_auth_footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--zh-gray-200);
}

.zh_auth_footer_text {
    font-size: 14px;
    color: var(--zh-gray-500);
}

.zh_auth_footer_link {
    color: var(--zh-primary);
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
}

.zh_auth_footer_link:hover {
    text-decoration: underline;
    color: var(--zh-primary-dark);
}

/* ========================================
   Register Page Styles
   ======================================== */

.zh_register_section {
    min-height: 100vh;
    background: var(--zh-gray-100);
    padding: 50px 0 80px;
}

.zh_register_container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.zh_register_header {
    text-align: center;
    margin-bottom: 32px;
}

.zh_register_header_icon {
    width: 70px;
    height: 70px;
    background: var(--zh-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.zh_register_header_icon i {
    font-size: 28px;
    color: var(--zh-white);
}

.zh_register_header h1 {
    font-family: var(--zh-font-heading);
    font-size: 28px;
    font-weight: 400;
    color: var(--zh-dark);
    margin-bottom: 8px;
}

.zh_register_header p {
    font-size: 15px;
    color: var(--zh-gray-500);
}

/* Steps */
.zh_register_steps {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.zh_step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.zh_step_num {
    width: 34px;
    height: 34px;
    background: var(--zh-white);
    border: 2px solid var(--zh-gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--zh-gray-400);
}

.zh_step.active .zh_step_num {
    background: var(--zh-primary);
    border-color: var(--zh-primary);
    color: var(--zh-white);
}

.zh_step_text {
    font-size: 13px;
    font-weight: 500;
    color: var(--zh-gray-500);
}

.zh_step.active .zh_step_text {
    color: var(--zh-dark);
    font-weight: 600;
}

.zh_step_line {
    width: 36px;
    height: 2px;
    background: var(--zh-gray-300);
    margin: 0 6px;
}

/* Tips */
.zh_register_tips {
    background: var(--zh-primary-light);
    border: 1px solid rgba(31, 125, 220, 0.2);
    padding: 20px 24px;
    margin-bottom: 28px;
}

.zh_register_tips_header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.zh_register_tips_header i {
    font-size: 18px;
    color: var(--zh-primary);
}

.zh_register_tips_header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--zh-dark);
    margin: 0;
}

.zh_register_tips ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
}

.zh_register_tips li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--zh-text-secondary);
}

.zh_register_tips li i {
    font-size: 11px;
    margin-top: 4px;
    flex-shrink: 0;
    color: var(--zh-primary);
}

/* Error Alert */
.zh_register_alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    padding: 18px 22px;
    margin-bottom: 28px;
}

.zh_register_alert_header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 10px;
}

.zh_register_alert ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.zh_register_alert li {
    font-size: 13px;
    color: #b91c1c;
    padding-left: 16px;
    position: relative;
    margin-bottom: 4px;
}

.zh_register_alert li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: #ef4444;
    position: absolute;
    left: 0;
    top: 7px;
}

/* Form Card */
.zh_register_card {
    background: var(--zh-white);
    border: 1px solid var(--zh-gray-200);
    overflow: hidden;
}

/* Form Section */
.zh_form_section {
    padding: 28px 32px;
    border-bottom: 1px solid var(--zh-gray-200);
}

.zh_form_section:last-child {
    border-bottom: none;
}

.zh_form_section_header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.zh_form_section_icon {
    width: 44px;
    height: 44px;
    background: var(--zh-primary-light);
    border: 1px solid var(--zh-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh_form_section_icon i {
    font-size: 18px;
    color: var(--zh-primary);
}

.zh_form_section_title h2 {
    font-family: var(--zh-font-heading);
    font-size: 18px;
    font-weight: 400;
    color: var(--zh-dark);
    margin: 0 0 2px;
}

.zh_form_section_title p {
    font-size: 13px;
    color: var(--zh-gray-500);
    margin: 0;
}

/* Form Grid */
.zh_form_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.zh_form_grid_full {
    grid-column: 1 / -1;
}

/* Form Group */
.zh_form_group {
    margin-bottom: 0;
}

.zh_form_label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--zh-dark);
    margin-bottom: 6px;
}

.zh_form_label .required {
    color: #ef4444;
    margin-left: 2px;
}

.zh_form_input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 14px;
    color: var(--zh-dark);
    background: var(--zh-white);
    border: 1px solid var(--zh-gray-200);
    transition: border-color 0.2s;
}

.zh_form_input:focus {
    outline: none;
    border-color: var(--zh-primary);
}

.zh_form_input::placeholder {
    color: var(--zh-gray-400);
}

.zh_form_textarea {
    height: auto;
    min-height: 110px;
    padding: 14px 16px;
    resize: vertical;
}

.zh_form_hint {
    font-size: 12px;
    color: var(--zh-gray-400);
    margin-top: 4px;
}

.zh_form_error {
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.zh_form_error i {
    font-size: 12px;
}

/* Upload Area */
.zh_upload_area {
    border: 2px dashed var(--zh-gray-300);
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--zh-gray-100);
}

.zh_upload_area:hover {
    border-color: var(--zh-primary);
    background: var(--zh-primary-light);
}

.zh_upload_area.has-file {
    border-style: solid;
    border-color: var(--zh-primary);
}

.zh_upload_icon {
    width: 50px;
    height: 50px;
    background: var(--zh-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.zh_upload_icon i {
    font-size: 20px;
    color: var(--zh-primary);
}

.zh_upload_text {
    font-size: 14px;
    font-weight: 600;
    color: var(--zh-dark);
    margin-bottom: 4px;
}

.zh_upload_hint {
    font-size: 12px;
    color: var(--zh-gray-500);
}

.zh_upload_preview {
    margin-top: 14px;
    display: none;
}

.zh_upload_preview.show {
    display: block;
}

.zh_upload_preview img {
    max-width: 180px;
    max-height: 130px;
    border: 1px solid var(--zh-gray-200);
}

.zh_upload_input {
    display: none;
}

/* Agreement */
.zh_agreement_section {
    padding: 24px 32px;
    background: var(--zh-gray-100);
    border-top: 1px solid var(--zh-gray-200);
}

.zh_agreement_check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.zh_agreement_checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--zh-gray-300);
    cursor: pointer;
    appearance: none;
    background: var(--zh-white);
    flex-shrink: 0;
    margin-top: 1px;
    transition: all 0.2s;
    position: relative;
}

.zh_agreement_checkbox:checked {
    background: var(--zh-primary);
    border-color: var(--zh-primary);
}

.zh_agreement_checkbox:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    color: var(--zh-white);
}

.zh_agreement_text {
    font-size: 13px;
    color: var(--zh-gray-500);
    line-height: 1.6;
}

.zh_agreement_text a {
    color: var(--zh-primary);
    font-weight: 600;
    text-decoration: none;
}

.zh_agreement_text a:hover {
    text-decoration: underline;
}

/* Submit */
.zh_submit_section {
    padding: 28px 32px;
    text-align: center;
}

.zh_submit_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 260px;
    height: 50px;
    padding: 0 36px;
    font-size: 16px;
    font-weight: 600;
    color: var(--zh-white);
    background: var(--zh-primary);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.zh_submit_btn:hover {
    background: var(--zh-primary-dark);
}

/* Login Link */
.zh_login_link {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--zh-gray-500);
}

.zh_login_link a {
    color: var(--zh-primary);
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}

.zh_login_link a:hover {
    text-decoration: underline;
}

/* ========================================
   Register Result Page Styles
   ======================================== */

.zh_result_section {
    padding: 80px 0;
    min-height: calc(100vh - var(--zh-header-height) - 300px);
    display: flex;
    align-items: center;
    background: var(--zh-gray-100);
}

.zh_result_container {
    max-width: 660px;
    margin: 0 auto;
    padding: 0 20px;
}

.zh_result_card {
    background: var(--zh-white);
    border: 1px solid var(--zh-gray-200);
    padding: 56px 48px;
    text-align: center;
}

/* Result Icon */
.zh_result_icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: var(--zh-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh_result_icon i {
    font-size: 44px;
    color: var(--zh-white);
}

.zh_result_icon_pending {
    background: var(--zh-gray-400);
}

.zh_result_title {
    font-family: var(--zh-font-heading);
    font-size: 26px;
    font-weight: 400;
    color: var(--zh-dark);
    margin-bottom: 12px;
}

.zh_result_desc {
    font-size: 15px;
    color: var(--zh-gray-500);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Tips */
.zh_result_tips {
    background: var(--zh-primary-light);
    border: 1px solid rgba(31, 125, 220, 0.2);
    border-left: 4px solid var(--zh-primary);
    padding: 22px 26px;
    margin-bottom: 30px;
    text-align: left;
}

.zh_result_tips_title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--zh-dark);
    margin-bottom: 14px;
}

.zh_result_tips_title i {
    color: var(--zh-primary);
}

.zh_result_tips_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zh_result_tips_list li {
    font-size: 13px;
    color: var(--zh-text-secondary);
    line-height: 1.8;
    padding-left: 22px;
    position: relative;
    margin-bottom: 8px;
}

.zh_result_tips_list li:last-child {
    margin-bottom: 0;
}

.zh_result_tips_list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--zh-primary);
    font-size: 11px;
    position: absolute;
    left: 0;
    top: 3px;
}

/* Action Buttons */
.zh_result_actions {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.zh_result_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.zh_result_btn_primary {
    background: var(--zh-primary);
    color: var(--zh-white);
}

.zh_result_btn_primary:hover {
    background: var(--zh-primary-dark);
    color: var(--zh-white);
}

.zh_result_btn_secondary {
    background: var(--zh-white);
    color: var(--zh-dark);
    border: 1px solid var(--zh-gray-200);
}

.zh_result_btn_secondary:hover {
    border-color: var(--zh-primary);
    color: var(--zh-primary);
}

/* Contact */
.zh_result_contact {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--zh-gray-200);
}

.zh_result_contact_text {
    font-size: 13px;
    color: var(--zh-gray-500);
    line-height: 1.7;
}

.zh_result_contact_text a {
    color: var(--zh-primary);
    text-decoration: none;
    font-weight: 600;
}

.zh_result_contact_text a:hover {
    text-decoration: underline;
}

/* ========================================
   Responsive
   ======================================== */

/* Login responsive */
@media (max-width: 992px) {
    .zh_auth_card {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
    }
    .zh_auth_left {
        display: none;
    }
    .zh_auth_right {
        padding: 44px 36px;
    }
}

@media (max-width: 576px) {
    .zh_auth_section {
        padding: 32px 0;
    }
    .zh_auth_right {
        padding: 32px 24px;
    }
    .zh_auth_title {
        font-size: 22px;
    }
    .zh_auth_remember {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Register responsive */
@media (max-width: 768px) {
    .zh_register_section {
        padding: 32px 0 60px;
    }
    .zh_register_header h1 {
        font-size: 24px;
    }
    .zh_register_tips {
        padding: 18px;
    }
    .zh_register_tips ul {
        grid-template-columns: 1fr;
    }
    .zh_form_section {
        padding: 22px 18px;
    }
    .zh_form_grid {
        grid-template-columns: 1fr;
    }
    .zh_agreement_section {
        padding: 18px;
    }
    .zh_submit_section {
        padding: 22px 18px;
    }
    .zh_submit_btn {
        width: 100%;
        min-width: auto;
    }
    .zh_register_steps {
        flex-wrap: wrap;
    }
    .zh_step_line {
        width: 20px;
    }
    .zh_step_text {
        display: none;
    }
}

@media (max-width: 576px) {
    .zh_register_header_icon {
        width: 60px;
        height: 60px;
    }
    .zh_register_header_icon i {
        font-size: 24px;
    }
    .zh_register_header h1 {
        font-size: 22px;
    }
    .zh_form_section_header {
        flex-direction: column;
        text-align: center;
    }
    .zh_upload_area {
        padding: 22px 14px;
    }
}

/* Register result responsive */
@media (max-width: 576px) {
    .zh_result_section {
        padding: 48px 0;
    }
    .zh_result_card {
        padding: 36px 22px;
    }
    .zh_result_icon {
        width: 84px;
        height: 84px;
    }
    .zh_result_icon i {
        font-size: 36px;
    }
    .zh_result_title {
        font-size: 22px;
    }
    .zh_result_actions {
        flex-direction: column;
    }
    .zh_result_btn {
        width: 100%;
        justify-content: center;
    }
    .zh_result_tips {
        padding: 18px 20px;
    }
}
