/* ---------- GLOBAL ---------- */
body {
    /* background: #0f3b4b; */
    /* background: #000000; */
    font-family: "Poppins", sans-serif;
    color: #fff;
    /* padding: 20px 0; */
    height: 100vh;

    /* background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6)), url(https://sofkpvtltd.com/sofk-TradeManage/wp-content/uploads/2025/06/ChatGPT-Image-Jun-3-2025-04_55_45-PM.png) #000000; */
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6)), url('/sofk-TradeManage/wp-content/uploads/2025/06/ChatGPT-Image-Jun-3-2025-04_55_45-PM.png') #000000;
    background-repeat: no-repeat;
    background-size: cover;
}

.register_login_section {
    display: grid;
    place-content: center;
    /*margin: 15px;*/

    height: 100vh;
    height: -webkit-fill-available;
}

.register_login_section .logo {
    text-align: center;
    margin-bottom: 20px;
}

.register_login_section .logo img {
    width: 100%;
    max-width: 289px;
}

.card-box {
    background-image: linear-gradient(90deg, #FFA93E 17.48%, #AA7430 80.58%);
    padding: 30px 32px 20px 32px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
    min-width: 370px;
    border-radius: 20px;
    max-width: 600px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #FFA93E inset;
    filter: opacity(1.5);
}

.registerpage {}

.loginpage .card-box {
    max-width: 450px;
}

/* ---------- FLOATING LABEL INPUT ---------- */
.input-wrapper {
    position: relative;
    margin-bottom: 32px;
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #fff;
    padding: 12px 0 6px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
    border-color: #fff;
}

.input-wrapper label {
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.2s ease;
}

.input-wrapper.not-empty label,
.input-wrapper input:focus+label,
.input-wrapper select:focus+label {
    top: -10px;
    font-size: 0.75rem;
    color: #fff;
}

.error-message {
    color: #ff4d4d;
    font-size: 0.75rem;
    margin-top: 4px;
    display: none;
    /* toggle via JS / validation */
}

/* ---------- COUNTRY CODE + MOBILE ---------- */
.input-group-wrapper {
    display: flex;
    gap: 12px;
}

.input-group-wrapper .code-select {
    flex: 0 0 70px;
}

.input-group-wrapper .mobile-input {
    flex: 1;
}

/* ---------- PASSWORD ---------- */
.password-wrapper {
    position: relative;
}

.toggle-eye {
    position: absolute;
    right: 0;
    top: 12px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,\<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="%23ffffff" stroke-width="2" viewBox="0 0 24 24"><path d="M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z"/><circle cx="12" cy="12" r="3"/></svg>') center/contain no-repeat;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.toggle-eye:hover {
    opacity: 1;
}

.rules {
    list-style: none;
    padding-left: 0;
    margin-top: 8px;
    font-size: 0.75rem;
}

.rules li {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.rules li::before {
    content: "\2717";
    /* âœ— */
    color: #ff4d4d;
    font-size: 0.8rem;
}

.rules li.valid::before {
    content: "\2713";
    /* âœ“ */
    color: #2ecc71;
}

.form-check {
    margin-bottom: 32px;
}

/* ---------- CHECKBOX ---------- */
.custom-check {
    accent-color: #fff;
    margin-right: 6px;
}

.agree-text a {
    color: #fff;
    text-decoration: none;
}

/* ---------- CTA + FOOTER ---------- */
.submitBtnBox {
    text-align: center;
}

.btn-register,
.btn-login {
    width: 100%;
    border: 0;
    border-radius: 6px;
    padding: 12px;
    font-weight: 600;
    font-size: 1rem;
    background: #fff;
    color: #000;
    transition: background 0.2s;
    width: fit-content;
    cursor: pointer;
}

.btn-register:hover,
.btn-login:hover {
    background: #FFA93E;
}

.login-link,
.register-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

label.agree-text {
    font-size: 12px;
    cursor: pointer;
}

.agretextcals {
    display: flex;
    align-items: start;
}

.agretextcals input {
    margin-top: 4px;
}

#broker_server_id {
    box-shadow: none !important;
}

@media (max-width: 628px) {
    body {
        overflow: hidden;
    }

    .register_login_section {
        display: block;
        height: 96%;
    }

    .register_login_section .card-box {
        min-width: unset;
        margin: auto;
        padding: 40px 32px 30px 32px;

    }

    .register_login_section {
        width: 100%;
    }
}