Initial commit: AIFO official portal web.

Add static site, shared layout, and Node dev server with standard .gitignore.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-30 15:29:50 +08:00
commit 4d30803b60
1154 changed files with 184340 additions and 0 deletions
File diff suppressed because it is too large Load Diff
+411
View File
@@ -0,0 +1,411 @@
/* ===============================
Base
================================ */
.error-message {
width: auto;
margin-top: .25rem;
font-size: 80%;
color:var(--aifo-dark-gary);
background: #fff;
border-radius: 4px;
padding: 2px 6px;
}
.error-message::before{
content: "";
display: inline-block;
width: 16px;
height: 16px;
margin-right: 4px;
background-image: url(../images/icon/valid_err_mark.svg);
background-repeat: no-repeat;
background-size: contain;
vertical-align: middle;
}
// bg_all_grid.webp
.aifo-bg-primary {
background-color: #000;
}
.login-page {
position: relative;
z-index: 1;
min-height: 100%;
padding: 20px 0;
height: 100vh;
background-color: #000;
background-image: url(../images/backgrounds/academy/bg_all_grid.webp);
margin-top: 0;
}
.login-page::before {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
z-index: 0;
background: url(../images/backgrounds/login_bg_light.webp)
no-repeat center top / cover;
}
.login-page .login-card {
max-width: 560px;
width: 100%;
margin: 0 auto;
padding: 60px 33px;
}
/* ===============================
Layout
================================ */
@media (min-width: 1200px) {
.container {
max-width: 1226px;
}
.login-page {
min-height: 100vh;
height: auto;
}
.col-xl-8 {
-webkit-box-flex: 0;
-ms-flex: 0 0 66.6666666667%;
flex: 0 0 66.6666666667%;
max-width: 580px;
padding: 0;
}
.col-xl-4 {
-webkit-box-flex: unset;
-ms-flex: unset;
flex: unset;
max-width: 450px;
width: 450px;
}
}
@media (max-width: 991px) {
.login-card {
margin-bottom: 30px;
}
}
/* ===============================
Card
================================ */
.card-base {
background: rgba(18, 18, 18, 0.88);
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 24px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}
.login-card {
max-width: 560px;
width: 100%;
margin: 0 auto;
padding: 60px 33px;
}
@media (max-width: 767px) {
.login-card {
padding: 28px 22px;
}
}
/* ===============================
Logo & Title
================================ */
.logo-container {
text-align: center;
margin-bottom: 30px;
position: relative;
}
.login-page .login-title {
text-align: center;
font-size: 25px;
font-weight: 700;
color: var(--aifo-white);
margin-bottom: 25px;
}
/* ===============================
Form
================================ */
.login-page .form-group {
margin-bottom: 15px;
}
.login-page .form-label {
font-size: 15px;
color: var(--aifo-white);
margin-bottom: 10px;
display: block;
}
.login-page .form-control {
height: 40px;
border-radius: 10px;
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.18);
color: var(--aifo-white);
font-size: 14px;
padding: 12px 16px;
}
.login-page .form-control::placeholder {
color: rgba(249, 249, 249, 0.55);
}
.login-page .form-control:focus {
background: rgba(0, 0, 0, 0.25);
border-color: var(--aifo-orange);
box-shadow: 0 0 0 0.1rem rgba(249, 135, 21, 0.1);
outline: none;
}
/* ===============================
Password
================================ */
.login-page .password-wrapper {
position: relative;
}
.login-page .password-toggle {
position: absolute;
right: 14px;
top: 0px;
background: none;
border: none;
color: rgba(249, 249, 249, 0.55);
cursor: pointer;
padding: 8px;
width: 40px;
height: 40px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-transition: color 0.2s ease;
transition: color 0.2s ease;
}
.login-page .password-toggle:hover {
color: rgba(249, 249, 249, 0.85);
}
/* ===============================
Remember / Forgot
================================ */
.login-page .remember-forgot {
display: flex;
justify-content: space-between;
align-items: center;
margin: 25px 0 30px;
}
.login-page .forgot-link {
color: var(--aifo-orange);
font-size: 14px;
text-decoration: none;
}
.login-page .forgot-link:hover {
text-decoration: underline;
color: #e67f12;
}
/* ===============================
Button
================================ */
.login-page .btn-aifo-primary {
width: 100%;
height: 55px;
background: var(--aifo-orange);
color: var(--aifo-white);
border: none;
border-radius: 14px;
font-size: 20px;
font-weight: 600;
cursor: pointer;
}
.login-page .btn-aifo-primary:hover {
background: var(--aifo-orange-hover);
box-shadow: 0 8px 24px rgba(249, 135, 21, 0.35);
}
/* ===============================
Divider
================================ */
.login-page .divider {
display: flex;
align-items: center;
gap: 12px;
margin: 30px 0;
}
.login-page .divider-line {
flex: 1;
height: 1px;
background: var(--aifo-white);
}
.login-page .divider-text {
font-size: 13px;
color: var(--aifo-white);
white-space: nowrap;
}
/* ===============================
Social
================================ */
.login-page .social-buttons {
display: flex;
justify-content: center;
gap: 26px;
margin-bottom: 30px;
}
.login-page .social-btn {
width: 48px;
height: 48px;
border-radius: 12px;
background: #f5f5f5;
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
transition: all 0.2s ease;
}
.login-page .social-btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
/* ===============================
Signup Prompt
================================ */
.login-page .signup-prompt {
text-align: center;
color: rgba(249, 249, 249, 0.75);
font-size: 14px;
}
.login-page .signup-link {
color: var(--aifo-orange);
margin-left: 4px;
text-decoration: none;
}
.login-page .signup-link:hover {
text-decoration: underline;
color: #e67f12;
}
/* ===============================
Steps (Right Side)
================================ */
#affliate-login .glass-card {
background: rgba(20, 20, 20, 0.92);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 20px;
box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
padding: 50px;
}
#affliate-login .steps-title {
font-size: 25px;
font-weight: 700;
color: var(--aifo-white);
text-align: center;
margin-bottom: 30px;
}
#affliate-login .timeline-wrapper {
position: relative;
padding-left: 50px;
padding-top: 50px;
}
#affliate-login .timeline-line {
position: absolute;
left: 2px;
top: 52px;
bottom: 104px;
width: 23px;
background-image: url("../images/backgrounds/bg_line.webp");
background-size: 100% 100%;
}
#affliate-login .step-item {
position: relative;
margin-bottom: 40px;
}
#affliate-login .step-number {
position: absolute;
left: -50px;
top: 0;
width: 26px;
height: 26px;
background: var(--aifo-orange);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 13px;
font-weight: 700;
}
#affliate-login .step-label {
color: var(--aifo-orange);
font-size: 15px;
font-weight: 600;
margin-bottom: 10px;
text-transform: uppercase;
}
#affliate-login .step-title {
color: #F9F9F9;
font-size: 15px;
font-weight: 700;
margin-bottom: 8px;
}
#affliate-login .step-desc {
color: rgba(249, 249, 249, 0.65);
font-size: 14px;
line-height: 1.6;
}
@media (max-width: 991px) {
.login-page {
height: auto;
}
.mb-hidden {
display: none !important;
}
}
@media (max-width: 768px) {
.login-page {
height: auto;
}
.mb-hidden {
display: none !important;
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+533
View File
@@ -0,0 +1,533 @@
#forgot-password.auth-page,#reset-password.auth-page{
min-height: 100%;
width: 100%;
position: relative;
background-image: url('../images/backgrounds/academy/bg_grid_pwd.webp');
// overflow: auto;
// height: 100vh;
.logo-container{
margin-bottom:40px;
}
.auth-container {
position: relative;
z-index: 3;
display: flex;
align-items: center;
justify-content: center;
min-height: 100%;
padding: 40px 16px;
}
.logo-container img{
width: 66px;
height:57px;
}
.auth-card {
width: 100%;
max-width: 520px;
border: 1px solid rgba(255,255,255,0.12);
border-radius: 20px;
padding: 60px 33px 160px 33px;
box-shadow:
0 18px 50px rgba(0,0,0,0.55),
inset 0 1px 0 rgba(255,255,255,0.04);
text-align: center;
background-color: var(--aifo-dark-gary);
background-image: url('../images/backgrounds/bg_bottom.webp');
background-size: 100% 100%;
background-repeat: no-repeat;
}
.logo-icon {
width: 50px;
height: 36px;
margin: 0 auto 20px;
}
.auth-title {
color: #F9F9F9;
font-size: 28px !important;
font-weight: 700;
line-height: 1.25;
margin-bottom: 12px;
}
.auth-description {
color: rgba(249,249,249,0.72);
font-size: 15px;
line-height: 1.5;
margin-bottom: 35px;
}
.form-label {
display: block;
color: rgba(249,249,249,0.85);
font-size: 15px;
font-weight: 500;
margin-bottom: 10px;
text-align: left;
}
.form-control {
height: 50px;
background: rgba(0,0,0,0.55);
border: 1px solid rgba(255,255,255,0.18);
border-radius: 11px;
color: #F9F9F9;
font-size: 15px;
padding: 0 16px;
transition: all 0.3s ease;
}
.form-control::placeholder {
color: rgba(249,249,249,0.35);
}
.form-control:focus {
background: rgba(0,0,0,0.65);
border-color: #F98715;
box-shadow: 0 0 0 0.2rem rgba(249,135,21,0.25);
color: #F9F9F9;
outline: none;
}
.invalid-feedback {
display: none;
color: var(--aifo-orange);
font-size: 13px;
text-align: left;
margin-top: 8px;
}
.invalid-feedback.show {
display: block;
}
.btn-primary {
width: 100%;
height: 50px;
background: var(--aifo-orange);
border: none;
border-radius: 11px;
color: var(--aifo-white);
font-size: 16px;
font-weight: 600;
margin-top: 30px;
transition: all 0.3s ease;
cursor: pointer;
}
.btn-primary:hover:not(:disabled) {
background: #e97d10;
box-shadow: 0 10px 24px rgba(249,135,21,0.18);
transform: translateY(-1px);
}
.btn-primary:disabled {
opacity: 0.65;
cursor: not-allowed;
}
.btn-primary:focus {
box-shadow: 0 0 0 0.2rem rgba(249,135,21,0.25);
outline: none;
}
.spinner-border-sm {
width: 18px;
height: 18px;
border-width: 2px;
margin-right: 8px;
}
.signup-prompt {
color: rgba(249,249,249,0.6);
font-size: 14px;
margin-top: 30px;
}
.signup-link {
color: #F98715;
text-decoration: none;
font-weight: 500;
transition: all 0.2s ease;
}
.signup-link:hover {
color: #ff9a2e;
text-decoration: underline;
}
.back-link {
display: inline-flex;
align-items: center;
gap: 10px;
color: rgba(249,249,249,0.7);
font-size: 14px;
text-decoration: none;
margin-top: 24px;
transition: all 0.2s ease;
}
.back-link:hover {
color: rgba(249,249,249,0.95);
text-decoration: none;
}
.back-icon {
width: 20px;
height: 20px;
background: #F98715;
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}
.back-link:hover .back-icon {
box-shadow: 0 0 12px rgba(249,135,21,0.4);
}
@media (max-width: 991px) {
.auth-card {
padding: 36px;
}
}
@media (max-width: 767px) {
.auth-card {
max-width: calc(100% - 32px);
padding: 28px 22px;
}
.auth-title {
font-size: 24px;
}
.auth-description {
font-size: 14px;
}
}
}
.auth-page::before,#reset-password.auth-page::before,#ch_pwd_message.auth-page{
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
pointer-events: none;
z-index: 0;
background-image: url(../images/backgrounds/login_bg_light.svg);
height: 500px;
width: 72%;
background-repeat: no-repeat;
background-size: contain;
z-index: 1;
}
#ch_pwd_message.auth-page{
padding: 40px 0;
height: 100%;
}
#reset-password.auth-page{
.form-group {
margin-bottom: 16px;
}
.form-label {
color: rgba(249,249,249,0.85);
font-size: 13.5px;
font-weight: 500;
margin-bottom: 8px;
display: block;
}
.input-wrapper {
position: relative;
}
.form-control {
height: 50px;
border-radius: 11px;
background: #0f0f0f;
border: 1px solid rgba(255,255,255,0.18);
color: #F9F9F9;
font-size: 15px;
padding-right: 45px;
transition: all 0.2s ease;
}
.form-control::placeholder {
color: rgba(249,249,249,0.35);
}
.form-control:focus {
background: #0f0f0f;
border-color: #F98715;
box-shadow: 0 0 0 0.2rem rgba(249,135,21,0.25);
color: #F9F9F9;
outline: none;
}
.form-control.is-invalid {
border-color: var(--aifo-orange);
}
.form-control.is-invalid:focus {
border-color: var(--aifo-orange);
box-shadow: 0 0 0 0.2rem rgba(220,53,69,0.25);
}
.toggle-password {
position: absolute;
right: 14px;
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
color: rgba(249,249,249,0.55);
cursor: pointer;
padding: 8px;
transition: color 0.2s ease;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
}
.toggle-password:hover {
color: rgba(249,249,249,0.85);
}
.toggle-password:focus {
outline: none;
}
.password-hint {
color: rgba(249,249,249,0.45);
font-size: 11.5px;
margin-top: 8px;
margin-bottom: 0;
text-align: left;
}
.btn-primary {
width: 100%;
height: 50px;
border-radius: 11px;
background: #F98715;
border: none;
color: #fff;
font-weight: 600;
font-size: 17px;
margin-top: 24px;
transition: all 0.2s ease;
}
.btn-primary:hover {
background: #e97d10;
box-shadow: 0 10px 24px rgba(249,135,21,0.18);
transform: translateY(-1px);
}
.btn-primary:active {
transform: translateY(1px);
}
.btn-primary:focus {
background: #e97d10;
box-shadow: 0 10px 24px rgba(249,135,21,0.18);
outline: none;
}
.btn-primary:disabled {
background: rgba(249,135,21,0.5);
cursor: not-allowed;
transform: none;
}
.security-note {
color: rgba(249,249,249,0.45);
font-size: 11.5px;
line-height: 1.45;
margin-top: 15px;
margin-bottom: 0;
text-align: left;
}
.invalid-feedback {
color: #dc3545;
font-size: 12px;
margin-top: 6px;
}
@media (max-width: 767px) {
.auth-card {
width: calc(100% - 32px);
padding: 28px 22px;
}
.auth-title {
font-size: 23px;
}
.auth-description {
font-size: 14px;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.auth-card {
padding: 36px;
}
.auth-title {
font-size: 25px;
}
}
}
#ch_pwd_message.auth-page{
min-height: 100%;
width: 100%;
position: relative;
background-image: url('../images/backgrounds/academy/bg_grid_pwd.webp');
// overflow: auto;
// height: 100vh;
.success-page{
min-width: 450px;
min-height: 650px;
background-color: var(--aifo-dark-gary);
background-image: url(../images/backgrounds/bg_bottom.webp);
background-size: 100% 100%;
background-repeat: no-repeat;
border: 1px solid rgba(255, 255, 255, 0.06);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
border-radius: 14px;
}
.success-card {
max-width: 450px;
width: 100%;
min-height: 650px;
padding: 80px 33px 150px;
transform: translateY(6px);
}
/* @keyframes cardFadeIn {
to {
opacity: 1;
transform: translateY(0);
}
} */
.success-icon {
width: 72px;
height: 72px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 40px;
/* box-shadow: 0 10px 22px rgba(249,135,21,0.25); */
img{
width: 100%;
height: 100%;
}
}
.success-icon i {
color: white;
font-size: 20px;
}
.success-title {
color: var(--aifo-white);
font-size: 25px;
font-weight: 600;
line-height: 1.3;
text-align: center;
margin-bottom: 20px;
}
.success-countdown {
color: var(--aifo-white);
font-size: 52px;
font-weight: 700;
line-height: 1;
text-align: center;
margin: 70px 0 70px;
transition: transform 100ms ease-out;
}
.success-countdown.pulse {
animation: countdownPulse 100ms ease-out;
}
@keyframes countdownPulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(0.98); }
}
.success-back-link {
color: var(--aifo-orange);
font-size: 15px;
font-weight: 300;
text-align: center;
text-decoration: none;
display: block;
transition: all 200ms ease;
}
.success-back-link:hover {
color: var(--aifo-orange);
text-decoration: underline;
opacity: 0.9;
}
@media (max-width: 576px) {
.success-card {
width: 100%;
padding: 40px 33px 100px;
min-height: 460px;
}
.success-page {
min-width: unset;
min-height: unset;
}
.success-title {
font-size: 16px;
}
.success-countdown {
font-size: 46px;
}
.success-back-link {
font-size: 12px;
}
.success-countdown {
margin: 35px 0 35px;
}
.success-icon {
margin: 0 auto 20px;
}
}
}
+844
View File
@@ -0,0 +1,844 @@
.bg_grid{
position:absolute;
width: 100%;
height: 100%;
z-index: 0;
}
body.aifo-bg-primary {
position: relative;
}
.bg_top{
position: absolute;
inset: 0;
width: 100%;
height: 870px;
z-index: -1;
background: #000;
}
#affliate-register-question{
.has-error {
border-left: 3px solid var(--aifo-orange);
padding-left: 12px;
}
button:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.modal-overlay {
display: none;
margin: auto;
}
.questionnaire-modal {
border-radius: 20px;
padding: 40px;
max-width: 712px;
width: 100%;
max-height: unset;
position: relative;
margin: auto;
}
.main-container {
position: relative;
z-index: 2;
width: 100%;
min-height: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 40px 16px;
}
.questionnaire-card {
border-radius: 20px;
max-width: 780px;
width: 100%;
max-height: calc(100% - 80px);
display: flex;
flex-direction: column;
overflow: hidden;
background: rgba(20,20,20,0.92);
overflow: hidden;
}
.card-content {
padding: 36px;
}
.back-button {
display: inline-flex;
align-items: center;
gap: 10px;
text-decoration: none;
margin-bottom: 32px;
cursor: pointer;
border: none;
background: transparent;
padding: 0;
transition: all 0.2s ease;
}
// .back-button:hover {
// opacity: 0.8;
// }
.back-icon {
width: 22px;
height: 22px;
background: var(--aifo-orange);
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 14px;
font-weight: bold;
transition: all 0.2s ease;
}
.back-button:hover .back-icon {
box-shadow: 0 0 12px rgba(249,135,21,0.4);
}
.back-text {
color: #F9F9F9;
font-size: 16px;
font-weight: 500;
}
.question-section {
margin-bottom: 26px;
}
.question-title {
color: #ffffff;
font-size: 17px;
font-weight: 600;
line-height: 1.4;
margin-bottom: 16px;
}
.options-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.custom-checkbox {
position: relative;
padding-left: 0;
margin-bottom: 0;
}
.custom-checkbox label {
display: flex;
align-items: flex-start;
cursor: pointer;
color: #ffffff;
font-size: 14px;
font-weight: 300;
line-height: 1.4;
padding: 10px 4px;
background: transparent;
border: none;
border-radius: 8px;
transition: all 0.2s ease;
user-select: none;
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
}
.custom-checkbox label:hover {
opacity: 0.8;
}
.custom-checkbox input[type="checkbox"],
.custom-checkbox input[type=radio]{
position: absolute;
opacity: 0;
}
.checkbox-custom {
min-width: 18px;
width: 18px;
height: 18px;
background: #2a2a2a;
border: 1px solid rgba(255,255,255,0.12);
border-radius: 4px;
margin-right: 10px;
margin-top: 1px;
position: relative;
transition: unset;
flex-shrink: 0;
}
.checkbox-custom::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0);
color: white;
font-size: 12px;
font-weight: bold;
// transition: transform 0.2s ease;
}
// .question_content {
// // height: auto;
// min-height: 100px;
// max-height: 650px;
// overflow-y: scroll;
// overflow-x: hidden;
// // grid-template-columns: repeat(2, 356px);
// // grid-gap: 22px;
// // padding-right: 40px;
// }
// .question_content::-webkit-scrollbar {
// width: 8px;
// }
// .question_content::-webkit-scrollbar-thumb {
// background: #F98715;
// border-radius: 5px;
// }
.custom-checkbox input[type="checkbox"]:checked + label .checkbox-custom,
.custom-checkbox input[type=radio]:checked + label .checkbox-custom,
.custom-checkbox label.is-checked .checkbox-custom
{
background: #F98715;
border-color: #F98715;
}
.custom-checkbox input[type="checkbox"]:checked + label .checkbox-custom::after,
.custom-checkbox input[type=radio]:checked + label .checkbox-custom::after,
.custom-checkbox label.is-checked .checkbox-custom::after
{
transform: translate(-50%, -50%) scale(1);
}
.error-message {
color: var(--aifo-orange);
font-size: 13px;
margin-top: 8px;
display: none;
}
.cta-section {
padding: 24px 36px;
background: rgba(20,20,20,0.95);
border-top: 1px solid rgba(255,255,255,0.08);
// position: sticky;
// bottom: 0;
// z-index: 10;
}
.cta-button {
width: 100%;
height: 54px;
background: #F98715;
color: #ffffff;
font-size: 19px;
font-weight: 600;
border: none;
border-radius: 11px;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 14px rgba(249,135,21,0.15);
}
.cta-button:hover:not(:disabled) {
background: #ff9a2e;
box-shadow: 0 10px 24px rgba(249,135,21,0.35);
transform: translateY(-1px);
}
.cta-button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
// #questionnaireModalStep2{ }
.questionnaire-modal {
padding: 0px;
}
.page-wrapper {
position: relative;
z-index: 2;
min-height: 100%;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 40px 20px;
overflow-y: auto;
}
.form-card {
background: linear-gradient(180deg, #141414 0%, #0F0F10 100%);
border-radius: 24px;
border: 1px solid rgba(255, 255, 255, 0.10);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
max-width: 820px;
width: 92%;
padding: 32px 40px;
margin: auto;
}
@media (max-width: 767px) {
.form-card {
padding: 20px 18px;
}
}
.form-card::-webkit-scrollbar {
width: 8px;
}
.form-card::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.05);
border-radius: 4px;
}
.form-card::-webkit-scrollbar-thumb {
background: rgba(249, 135, 21, 0.5);
border-radius: 4px;
}
.form-card::-webkit-scrollbar-thumb:hover {
background: rgba(249, 135, 21, 0.7);
}
.back-button {
display: inline-flex;
align-items: center;
gap: 10px;
cursor: pointer;
margin-bottom: 28px;
transition: all 0.2s ease;
}
.back-icon {
width: 28px;
height: 28px;
background: var(--aifo-orange);
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}
.back-button:hover .back-icon {
background: var(--aifo-orange-hover);
box-shadow: 0 4px 12px rgba(249, 135, 21, 0.3);
}
.back-text {
color: #F9F9F9;
font-size: 15px;
font-weight: 500;
}
.question-block {
margin-bottom: 28px;
}
.question-title {
font-size: 16px;
font-weight: 600;
color: #F1F1F1;
margin-bottom: 14px;
line-height: 1.4;
}
.checkbox-option {
position: relative;
margin-bottom: 12px;
}
.checkbox-option label {
display: flex;
align-items: center;
cursor: pointer;
padding: 0;
background: transparent;
border: none;
transition: all 0.2s ease;
user-select: none;
}
.checkbox-option label:hover .checkbox-custom {
border-color: rgba(249, 135, 21, 0.6);
}
.checkbox-option input[type="checkbox"] {
position: absolute;
opacity: 0;
cursor: pointer;
}
.checkbox-label {
color: rgba(255, 255, 255, 0.78);
font-size: 15px;
font-weight: 400;
}
.form-input {
background: #101010;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 6px;
padding: 14px 16px;
color: #F9F9F9;
font-size: 15px;
-webkit-transition: all 0.2s ease;
transition: all 0.2s ease;
height: 24px;
}
.form-input:focus {
outline: none;
border-color: #F98715;
box-shadow: 0 0 0 3px rgba(249, 135, 21, 0.15);
}
.form-input::placeholder {
color: rgba(255, 255, 255, 0.38);
}
.platform-input-wrapper {
position: relative;
flex: 1;
}
.platform-input-wrapper input {
padding-left: 44px;
}
.input-icon {
position: absolute;
left: 14px;
top: 50%;
transform: translateY(-50%);
pointer-events: none;
display: flex;
align-items: center;
justify-content: center;
}
.input-icon svg {
display: block;
}
.platform-selector {
position: relative;
flex: 0 0 180px;
}
.platform-select {
width: 100%;
background: #101010;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 12px;
padding: 14px 40px 14px 16px;
color: #F9F9F9;
font-size: 15px;
line-height: 1.4;
transition: all 0.2s ease;
cursor: pointer;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
}
.platform-select:focus {
outline: none;
border-color: #F98715;
box-shadow: 0 0 0 3px rgba(249, 135, 21, 0.15);
}
.platform-selector::after {
content: '';
position: absolute;
right: 16px;
top: 50%;
transform: translateY(-50%);
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid rgba(255, 255, 255, 0.6);
pointer-events: none;
}
@media (max-width: 991px) {
.platform-selector {
flex: 0 0 160px;
}
}
@media (max-width: 767px) {
.platform-selector {
width: 100%;
}
}
.links-title {
font-size: 16px;
font-weight: 600;
color: #F1F1F1;
}
.add-platform-link {
display: inline-flex;
align-items: center;
gap: 6px;
color: #F98715;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
}
.add-platform-link:hover {
color: #FF9830;
text-decoration: underline;
}
.links-row {
display: flex;
gap: 12px;
align-items: center;
}
.links-row-buttons {
display: flex;
gap: 12px;
align-items: center;
}
@media (max-width: 991px) and (min-width: 768px) {
.links-row {
gap: 10px;
}
.btn-attach {
padding: 14px 16px;
font-size: 13px;
}
}
@media (max-width: 767px) {
.form-card {
max-height: 86vh;
overflow-y: auto;
}
.links-row {
flex-direction: column;
gap: 12px;
}
.platform-input-wrapper {
width: 100%;
}
.btn-attach {
flex: 1;
}
.btn-delete {
flex-shrink: 0;
width: 48px;
}
.question-title {
font-size: 16px;
}
.checkbox-label {
font-size: 14px;
}
}
.btn-attach {
background: #F98715;
border: none;
border-radius: 12px;
color: white;
font-size: 14px;
font-weight: 600;
padding: 14px 20px;
line-height: 1.4;
display: inline-flex;
align-items: center;
gap: 8px;
cursor: pointer;
transition: all 0.2s ease;
white-space: nowrap;
}
.btn-attach:hover {
background: #FF9830;
box-shadow: 0 4px 12px rgba(249, 135, 21, 0.3);
}
.btn-delete {
width: 48px;
background: transparent;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 12px;
padding: 14px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s ease;
flex-shrink: 0;
}
.btn-delete:hover {
border-color: #F98715;
background: rgba(249, 135, 21, 0.1);
}
.btn-submit {
width: 100%;
height: 60px;
background: #F98715;
border: none;
border-radius: 14px;
color: white;
font-size: 20px;
font-weight: 700;
cursor: pointer;
transition: all 0.2s ease;
margin-top: 36px;
text-transform: none;
}
.btn-submit:hover {
background: #FF9830;
box-shadow: 0 6px 20px rgba(249, 135, 21, 0.4);
transform: translateY(-2px);
}
.btn-submit:active {
transform: translateY(0);
}
.mixed-input-row {
display: flex;
gap: 130px;
align-items: center;
}
.mixed-input-row .checkbox-option {
flex: 0 0 auto;
margin-bottom: 0;
}
.mixed-input-row .form-input {
flex: 1;
}
@media (max-width: 767px) {
.mixed-input-row {
flex-direction: column;
gap: 12px;
}
.mixed-input-row .checkbox-option,
.mixed-input-row .form-input {
width: 100%;
}
}
.file-name {
font-size: 13px;
color: rgba(255, 255, 255, 0.6);
margin-top: 8px;
display: none;
}
.file-name.show {
display: block;
}
.platform-box{max-width:760px}
.platform-row{
display:flex;
align-items:center;
gap:8px;
margin-bottom:12px;
}
.platform-input-wrap{flex:1;position:relative}
.platform-input{
height:48px;
padding-left:48px;
background:#0d0d0d;
border:1px solid #2a2a2a;
color:#fff;
border-radius:10px;
}
.platform-input:focus{
border-color:#ff8a00;
box-shadow:none;
}
.platform-icon{
position:absolute;
left:14px;
top:50%;
transform:translateY(-50%);
color:#aaa;
font-size:18px;
cursor:pointer;
}
.platform-icon:hover{color:#ff8a00}
.platform-dropdown{
position:absolute;
top:52px;
left:0;right:0;
background:#121212;
border:1px solid #2a2a2a;
border-radius:10px;
z-index:100;
display:none;
}
.platform-search{
padding:8px;
border-bottom:1px solid #2a2a2a;
}
.platform-search-input{
width:100%;
height:34px;
background:#0d0d0d;
border:1px solid #2a2a2a;
color:#fff;
border-radius:6px;
padding:0 10px;
}
.platform-list{max-height:180px;overflow:auto}
.platform-item{
display:flex;
align-items:center;
gap:10px;
padding:10px 14px;
cursor:pointer;
}
.platform-item i{
width:20px;
text-align:center;
font-size:16px;
}
.platform-item:hover{background:#1f1f1f}
.platform-item.disabled{
opacity:.4;
cursor:not-allowed;
}
.platform-empty{
padding:12px;
text-align:center;
color:#777;
display:none;
}
.btn-attach{
height:40px;
background:#ff8a00;
border-radius:8px;
white-space:nowrap;
}
.btn-attach.attached{background:#2ecc71}
.file-input{display:none}
.upload-progress{
width:120px;
height:6px;
background:#2a2a2a;
border-radius:4px;
overflow:hidden;
display:none;
}
.upload-bar{
height:100%;
width:0%;
background:#ff8a00;
}
.btn-delete{
background:none;
border:none;
color:#777;
font-size:18px;
}
.btn-delete:hover{color:#ff4d4f}
.add-platform{
color:#ff8a00;
cursor:pointer;
}
}
.login-page {
padding: 0;
height: auto;
}
#questionnaireModalStep1.modal-overlay{
display: block;
}
.question-section.has-error {
border-left: 3px solid var(--aifo-orange);
}
.error-focus {
animation: errorPulse 1.2s ease;
}
@keyframes errorPulse {
0% { background: rgba(255,77,79,0.15); }
100% { background: transparent; }
}