  :root {
            --brand-100: #fff8ea;
            --text: #222;
            --muted: #6e6e6e;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: #f4f4f4;
        }

        .wrapper_main_form {
            max-width: 700px;
            margin: 60px auto;
            padding: 40px 35px;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
        }

        .title {
            margin: 0 0 10px;
            text-align: center;
            font-weight: 700;
            font-size: 32px;
            color: #222;
            line-height: 38px;
        }
.terms-checkbox a {
    color: #2f6230;
}
        .subtitle {
            text-align: center;
            font-size: 16px;
            color: #6e6e6e;
            margin: 0 0 25px;
        }

        .error-message {
            background: #fff6f6;
            border: 1px solid #ffd6d6;
            border-radius: 10px;
            padding: 14px 18px;
            margin-bottom: 20px;
            color: #b91c1c;
        }

        .error-message h3 {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .error-message ul {
            list-style: disc;
            padding-left: 20px;
            color: #374151;
        }

        .error-message li {
            margin: 6px 0;
            font-size: 14px;
        }

        label {
            font-size: 16px;
            margin: 0 0 5px;
            display: block;
            text-align: left;
            color: #6C7278;
            font-weight: 600;
        }

        .wrapper_main_form label .redd {
            color: #e11900;
        }

        .wrapper_main_form label.error {
            color: #e11900;
            font-size: 12px;
            margin-top: 4px;
            font-weight: 400;
        }

        input[type="text"],
        input[type="email"],
        input[type="number"],
        input[type="password"] {
            width: 100%;
            padding: 12px;
            border-radius: 8px;
            border: 1px solid #6C7278;
            font-size: 14px;
            outline: none;
            height: 48px;
            font-family: inherit;
        }
label.terms-checkbox {
    font-size: 14px !important;
}
        input:focus {
            border-color: var(--brand);
        }

        .form-row {
            display: flex;
            gap: 10px;
        }

        .form-row .form-group {
            flex: 1;
        }

        .form-group {
            margin-bottom: 20px;
        }

        small.note {
            color: #6C7278;
            font-size: 12px;
            display: inline-block;
            margin-top: 6px;
            text-align: left;
            width: 100%;
            font-weight: 500;
        }

        .gender-wrap {
            display: flex;
            gap: 12px;
            margin-top: 0;
        }

        .gender-btn {
            flex: 1;
            display: block;
            border: 1px solid #6C7278;
            padding: 8px 15px;
            border-radius: 8px;
            text-align: center;
            cursor: pointer;
            user-select: none;
            transition: 0.2s;
            background: #fff;
        }

        .gender-btn span {
            display: block;
            font-weight: 500;
        }

        .gender-btn input {
            display: none;
        }

        .gender-btn.selected {
            border-color: var(--brand);
            background: var(--brand-100);
        }

        .gender-btn i.fa-mars {
            color: #3C80FF;
        }

        .gender-btn i.fa-venus {
            color: #E95DFF;
        }
.wrapper_main_form label {
    font-size: 16px;
    margin: 0 0 5px;
    display: block;
    text-align: left;
    color: #222;
    font-weight: 600;
}
        .btn-submit {
      width: auto;
    padding: 14px 25px;
    margin-top: 22px;
    border-radius: 10px;
    border: none;
    font-size: 15px;
    cursor: pointer;
    background:#d35400;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: 0.3s;
        }

        .btn-submit:hover:not(:disabled) {
            background: #d35400;
        }

        .btn-submit:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }

        .alreadyHaveAnAccount {
            margin-top: 10px;
            text-align: center;
        }

        .alreadyHaveAnAccount span {
            font-size: 15px;
            color:#222;
        }

        .custom-link {
            color: #2f6230;
            text-decoration: none;
            font-weight: 600;
        }
label.terms-checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}
        .custom-link {
            text-decoration: underline;
        }

        /* Loading state */
        .btn-loading {
            position: relative;
            pointer-events: none;
            opacity: 0.7;
            color: transparent !important;
        }

        .btn-loading::after {
            content: "";
            position: absolute;
            width: 16px;
            height: 16px;
            top: 50%;
            left: 50%;
            margin-left: -8px;
            margin-top: -8px;
            border: 2px solid #ffffff;
            border-radius: 50%;
            border-top-color: transparent;
            animation: spinner 0.6s linear infinite;
        }

        @keyframes spinner {
            to {
                transform: rotate(360deg);
            }
        }

        /* Responsive */
 @media (max-width: 767px) {
.wrapper_main_form {
    max-width: 100%;
    margin: 60px 15px;
}
 }

        @media (max-width: 575px) {
            .wrapper_main_form {
                padding: 40px 25px;
            }

            .form-row {
                flex-direction: column;
                gap: 0;
            }

            .title {
                font-size: 28px;
            }

            .subtitle {
                font-size: 14px;
            }
        }
  