/* Signup Page Styles */

.signup-bg {
    width: 100%;
    height: 100vh;
    background: url('/wp-content/uploads/2025/03/signup-bg-scaled.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

@media screen and (max-width: 576px) {
    .signup-bg {
        height: 100%;
        padding: 100px 16px;
    }
}

.signup-bg:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, 0.5);
}

.signup-bg-container {
    max-width: 666px;
    width: 100%;
    position: relative;
    z-index: 12;
    background: #fff;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 32px;
}

.already-tip {
    display: flex;
    justify-content: center;
}

.already-tip p {
    font-weight: 500;
    font-size: 14px;
    color: #6E6E6E;
}

.already-tip p a {
    font-weight: 700;
    font-size: 16px;
    color: #9B8A78;
    text-decoration: underline;
    margin-left: 16px;
    color: #262626;
}

.signup-bg-container h2 {
    font-size: 24px;
    font-weight: 700;
    color: #262626;
}

.signup-bg-container p {
    font-weight: 500;
    color: #262626;
}

.signup-bg-container .logo {
    width: 282px;
    margin: 0 auto 32px auto;
}

@media screen and (max-width: 576px) {
    .signup-bg-container .logo {
        width: 211px;
    }
}

.signup-bg-container .logo img {
    display: block;
    width: 100%;
}

.back {
    margin-bottom: 16px;
    cursor: pointer;
    color: #262626;
}

.back img {
    vertical-align: bottom;
    cursor: pointer;
}

.step-box {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.step-box .item {
    width: 58px;
    height: 12px;
    background-color: rgba(233, 233, 233, 1);
    border-radius: 100px;
    transition: background-color 0.3s ease-in-out;
}

.step-box .item.active {
    background-color: #9B8A78;
}

.step-inner-box .step-inner-item {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.step-inner-box .step-inner-item.active {
    display: block;
    opacity: 1;
}

.step-inner-box .step-inner-item form {
    width: 100%;
}

.step-inner-box .step-inner-item form .form-group-one {
    margin-bottom: 16px;
}

.step-inner-box .step-inner-item form .form-group-two {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

@media screen and (max-width: 576px) {
    .step-inner-box .step-inner-item form .form-group-two {
        flex-direction: column;
    }
}

.step-inner-box .step-inner-item form .form-group {
    position: relative;
}

.step-inner-box .step-inner-item form .form-group .form-group-icon {
    position: absolute;
    left: 16px;
    top: 20px;
    line-height: 1;
}

.step-inner-box .step-inner-item form .form-group input,
.step-inner-box .step-inner-item form .form-group select {
    border: 1px solid #9B9B9B;
    border-radius: 8px;
    padding: 14px 16px 14px 52px;
    font-weight: 600;
    color: #262626;
}

.step-inner-box .step-inner-item form .form-group-select {
    position: relative;
}

.step-inner-box .step-inner-item form .form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    padding-right: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    background-color: transparent;
}

.step-inner-box .step-inner-item form .form-group select option[value=""] {
    color: #6E6E6E;
}

.step-inner-box .step-inner-item form .form-group select {
    color: #262626;
}

.step-inner-box .step-inner-item form .form-group select:required:invalid {
    color: #6E6E6E;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    font-weight: 400;
    background-color: transparent;
}

.step-inner-box .step-inner-item form .form-group-select:before {
    content: "";
    width: 11px;
    height: 11px;
    position: absolute;
    right: 16px;
    top: 24px;
    background-image: url('/wp-content/uploads/2025/03/icon-select.svg');
    background-size: 11px 6px;
    background-repeat: no-repeat;
    background-position: right center;
    z-index: 123;
}

.step-inner-box .step-inner-item form .form-group input::placeholder {
    font-weight: 400;
    color: #6E6E6E;
}

.step-inner-box .step-inner-item form .form-group input.error {
    color: #FF6A55;
}

.step-inner-box .step-inner-item form p input {
    display: block;
    width: 100%;
    background: #9B8A78;
    border-radius: 100px;
    font-weight: bold;
    color: #fdfdfd;
}

.step-inner-box .step-inner-item form .form-group-two .form-group {
    width: 50%;
}

@media screen and (max-width: 576px) {
    .step-inner-box .step-inner-item form .form-group-two .form-group {
        width: 100%;
    }
}

.step-inner-box .step-inner-item form>p {
    margin-top: 32px;
}

.form-group-tip p {
    color: #6E6E6E;
}

label.error {
    color: #FF6A55;
    font-size: 12px;
    margin-top: 5px;
}

input.error {
    border-color: #FF6A55;
}

.head-title {
    display: none;
    margin-bottom: 32px;
}

.g-recaptcha {
    margin: 20px 0;
}

.form-group-check {
    color: #000;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    cursor: pointer;
}

.form-group-check label {
    cursor: pointer;
    gap: 8px;
}

.form-group-check>label:first-child {
    display: flex;
    align-items: center;
}

.form-group-check .error {
    display: block;
}

.form-group-check a {
    color: #2E7CF6;
    text-decoration: underline;
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 48px 0;
}

.success-icon img {
    display: block;
    width: 152px;
}

.step-inner-four p {
    text-align: center;
}

/* Message Box Styles */
.message-box {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 32px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    transition: all 0.3s ease;
    min-width: 300px;
    text-align: center;
}

.message-box.success {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
}

.message-box.error {
    background: #fff2f0;
    border: 1px solid #ffccc7;
}

.message-box.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translate(-50%, -100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.message-content {
    font-size: 14px;
    font-weight: 500;
}

.message-box.success .message-content {
    color: #52c41a;
}

.message-box.error .message-content {
    color: #ff4d4f;
}

/* Info Modal Styles */
.info-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.info-modal-overlay.show {
    display: flex;
}

.info-modal {
    background: #fff;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.info-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #262626;
    margin-bottom: 16px;
}

.info-modal-content {
    font-size: 16px;
    font-weight: 500;
    color: #6E6E6E;
    line-height: 1.6;
    margin-bottom: 24px;
}

.info-modal-btn {
    display: block;
    width: 100%;
    padding: 14px 16px;
    background: #9B8A78 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 100px;
    font-weight: bold !important;
    font-size: 16px !important;
    cursor: pointer;
    transition: background 0.3s ease;
    line-height: 1.5;
    text-align: center;
}

.info-modal-btn:hover {
    background: #8a7967 !important;
    color: #ffffff !important;
}

/* Submit Box Loading */
.step-inner-three .submit-box {
    position: relative;
}

.step-inner-three .submit-box.loading {
    font-size: 0;
}

.step-inner-three .submit-box.loading:before {
    content: '';
    display: block;
    position: absolute;
    top: 8px;
    left: 47%;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

