{"id":9418,"date":"2025-03-03T02:04:38","date_gmt":"2025-03-03T02:04:38","guid":{"rendered":"https:\/\/mindup.vn\/?page_id=9418"},"modified":"2025-09-24T14:17:43","modified_gmt":"2025-09-24T14:17:43","slug":"register-2-2","status":"publish","type":"page","link":"https:\/\/mindup.vn\/vi\/register-2-2\/","title":{"rendered":"Register"},"content":{"rendered":"<div class=\"disc-company-registration\">\n    <style>\n        .disc-company-registration { max-width: 800px; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }\n        .disc-registration-header { text-align: center; margin-bottom: 40px; }\n        .disc-registration-header h1 { font-size: 32px; font-weight: 600; margin-bottom: 8px; color: #1a73e8; }\n        .disc-registration-header p { color: #5f6368; font-size: 16px; }\n        .disc-registration-form { background: #fff; border: 1px solid #e1e5e9; border-radius: 8px; padding: 40px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }\n        .disc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }\n        .disc-form-group { margin-bottom: 24px; }\n        .disc-form-group.full-width { grid-column: 1 \/ -1; }\n        .disc-form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #3c4043; }\n        .disc-form-group input, .disc-form-group select, .disc-form-group textarea { width: 100%; padding: 12px; border: 1px solid #dadce0; border-radius: 6px; font-size: 14px; transition: border-color 0.2s; }\n        .disc-form-group input:focus, .disc-form-group select:focus, .disc-form-group textarea:focus { outline: none; border-color: #1a73e8; box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2); }\n        .disc-form-group .help-text { font-size: 12px; color: #5f6368; margin-top: 4px; }\n        .disc-btn { display: inline-block; padding: 14px 28px; border: none; border-radius: 6px; font-weight: 500; cursor: pointer; text-decoration: none; transition: all 0.2s; font-size: 16px; }\n        .disc-btn-primary { background: #1a73e8; color: white; }\n        .disc-btn-primary:hover { background: #1557b0; color: white; }\n        .disc-btn-secondary { background: #f8f9fa; color: #3c4043; border: 1px solid #dadce0; }\n        .disc-btn-secondary:hover { background: #f1f3f4; }\n        .disc-form-actions { text-align: center; margin-top: 32px; }\n        .disc-login-link { text-align: center; margin-top: 24px; color: #5f6368; }\n        .disc-login-link a { color: #1a73e8; text-decoration: none; }\n        .disc-login-link a:hover { text-decoration: underline; }\n        .disc-benefits { background: #f8f9ff; border: 1px solid #e8f0fe; border-radius: 8px; padding: 24px; margin-bottom: 32px; }\n        .disc-benefits h3 { color: #1a73e8; margin-top: 0; margin-bottom: 16px; }\n        .disc-benefits ul { margin: 0; padding-left: 20px; }\n        .disc-benefits li { margin-bottom: 8px; color: #3c4043; }\n        \n        @media (max-width: 768px) {\n            .disc-form-grid { grid-template-columns: 1fr; }\n            .disc-registration-form { padding: 24px; }\n            .disc-registration-header h1 { font-size: 28px; }\n        }\n    <\/style>\n\n\n\n    <div class=\"disc-registration-form\" enctype=\"multipart\/form-data\">\n        <div style=\"display:flex; gap:12px; margin-bottom:20px;\">\n            <button type=\"button\" class=\"disc-btn disc-btn-secondary\" id=\"tab-company\">Company<\/button>\n         \n        <\/div>\n\n        <!-- Company form -->\n        <form method=\"post\" id=\"company-form\" enctype=\"multipart\/form-data\" action=\"\">\n        <input type=\"hidden\" id=\"disc_nonce\" name=\"disc_nonce\" value=\"cead1ac57b\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/vi\/wp-json\/wp\/v2\/pages\/9418\" \/>        \n        <div class=\"disc-form-grid\">\n            <div class=\"disc-form-group\">\n                <label for=\"contact_person\">Contact Person *<\/label>\n                <input type=\"text\" id=\"contact_person\" name=\"contact_person\" required value=\"\">\n            <\/div>\n            \n            <div class=\"disc-form-group\">\n                <label for=\"organization_name\">Organization Name *<\/label>\n                <input type=\"text\" id=\"organization_name\" name=\"organization_name\" required value=\"\">\n            <\/div>\n            \n            <div class=\"disc-form-group\">\n                <label for=\"organization_type\">Organization Type *<\/label>\n                <input type=\"text\" id=\"organization_type\" name=\"organization_type\" required value=\"\">\n            <\/div>\n            \n            <div class=\"disc-form-group\">\n                <label for=\"company_address\">Company Address *<\/label>\n                <input type=\"text\" id=\"company_address\" name=\"company_address\" required value=\"\">\n            <\/div>\n            \n            <div class=\"disc-form-group\">\n                <label for=\"company_email\">Company Email *<\/label>\n                <input type=\"email\" id=\"company_email\" name=\"company_email\" required value=\"\">\n            <\/div>\n            \n            <div class=\"disc-form-group\">\n                <label for=\"company_code\">Company Code (optional)<\/label>\n                <input type=\"text\" id=\"company_code\" name=\"company_code\" \n                       value=\"\">\n            <\/div>\n\n            \n            \n            <div class=\"disc-form-group\">\n                <label for=\"password\">Password *<\/label>\n                <input type=\"password\" id=\"password\" name=\"password\" required minlength=\"8\">\n            <\/div>\n            \n            <div class=\"disc-form-group\">\n                <label for=\"confirm_password\">Confirm Password *<\/label>\n                <input type=\"password\" id=\"confirm_password\" name=\"confirm_password\" required minlength=\"8\">\n            <\/div>\n\t\t\t<div class=\"disc-form-group full-width\">\n                <label for=\"company_logo\">Upload Logo (optional)<\/label>\n                <input type=\"file\" id=\"company_logo\" name=\"company_logo\" accept=\"image\/*\">\n                <div class=\"help-text\">PNG, JPG, or GIF. Max 5 MB.<\/div>\n            <\/div>\n        <\/div>\n        \n        <div class=\"disc-form-actions\">\n            <button type=\"submit\" name=\"register_company\" class=\"disc-btn disc-btn-primary\">\n                Register Company\n            <\/button>\n        <\/div>\n        <input type=\"hidden\" name=\"trp-form-language\" value=\"vi\"\/><\/form>\n\n        <!-- Candidate form -->\n        <form method=\"post\" id=\"candidate-form\" style=\"display:none;\" action=\"\">\n            <input type=\"hidden\" id=\"disc_nonce\" name=\"disc_nonce\" value=\"f099fbe7fd\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/vi\/wp-json\/wp\/v2\/pages\/9418\" \/>\n            <div class=\"disc-form-grid\">\n                <div class=\"disc-form-group full-width\">\n                    <label for=\"candidate_name\">Full Name *<\/label>\n                    <input type=\"text\" id=\"candidate_name\" name=\"candidate_name\" required value=\"\">\n                <\/div>\n                <div class=\"disc-form-group full-width\">\n                    <label for=\"candidate_email\">Email *<\/label>\n                    <input type=\"email\" id=\"candidate_email\" name=\"candidate_email\" required value=\"\">\n                <\/div>\n                <div class=\"disc-form-group\">\n                    <label for=\"candidate_password\">Password *<\/label>\n                    <input type=\"password\" id=\"candidate_password\" name=\"candidate_password\" required minlength=\"8\">\n                <\/div>\n                <div class=\"disc-form-group\">\n                    <label for=\"candidate_confirm_password\">Confirm Password *<\/label>\n                    <input type=\"password\" id=\"candidate_confirm_password\" name=\"candidate_confirm_password\" required minlength=\"8\">\n                <\/div>\n            <\/div>\n\n            <div class=\"disc-form-actions\">\n                <button type=\"submit\" name=\"register_candidate\" class=\"disc-btn disc-btn-primary\">\n                    Register Candidate\n                <\/button>\n            <\/div>\n        <input type=\"hidden\" name=\"trp-form-language\" value=\"vi\"\/><\/form>\n    <\/div>\n\n    <script>\n    (function(){\n        const tabCompany = document.getElementById('tab-company');\n        const tabCandidate = document.getElementById('tab-candidate');\n        const companyForm = document.getElementById('company-form');\n        const candidateForm = document.getElementById('candidate-form');\n\n        function setActive(tab) {\n            if (tab === 'company') {\n                companyForm.style.display = '';\n                candidateForm.style.display = 'none';\n                tabCompany.classList.add('disc-btn-secondary');\n                tabCandidate.classList.remove('disc-btn-secondary');\n            } else {\n                companyForm.style.display = 'none';\n                candidateForm.style.display = '';\n                tabCandidate.classList.add('disc-btn-secondary');\n                tabCompany.classList.remove('disc-btn-secondary');\n            }\n        }\n\n        tabCompany && tabCompany.addEventListener('click', function(){ setActive('company'); });\n        tabCandidate && tabCandidate.addEventListener('click', function(){ setActive('candidate'); });\n\n        \/\/ Preserve active tab after submission based on which submit was pressed\n                setActive('company');\n            })();\n    <\/script>\n    \n    <div class=\"disc-login-link\">\n        <p>Already have an account? <a href=\"https:\/\/mindup.vn\/vi\/user-login\/\">Log in here<\/a><\/p>\n\n    <\/div>\n<\/div>\n<p><\/p><div class=\"hidden-magic-login-form\">[magic_login_form]<\/div>","protected":false},"excerpt":{"rendered":"<p>[magic_login_form]<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-9418","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mindup.vn\/vi\/wp-json\/wp\/v2\/pages\/9418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mindup.vn\/vi\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mindup.vn\/vi\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mindup.vn\/vi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mindup.vn\/vi\/wp-json\/wp\/v2\/comments?post=9418"}],"version-history":[{"count":4,"href":"https:\/\/mindup.vn\/vi\/wp-json\/wp\/v2\/pages\/9418\/revisions"}],"predecessor-version":[{"id":10721,"href":"https:\/\/mindup.vn\/vi\/wp-json\/wp\/v2\/pages\/9418\/revisions\/10721"}],"wp:attachment":[{"href":"https:\/\/mindup.vn\/vi\/wp-json\/wp\/v2\/media?parent=9418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}