.switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 30px;
    height: 17px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #061834;
    transition: .4s;
    border-radius: 17px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #d734d7;
}

input:checked + .slider:before {
    transform: translateX(13px);
}

.label-text {
    font-family: Manrope, Arial, sans-serif;
    font-weight: 600;
    margin-left: 50px;
    font-size: 16px;
    white-space: nowrap;
}

.center::-webkit-scrollbar {
    width: 12px;
}

.center::-webkit-scrollbar-track {
    background: #2d086b;
    border-radius: 10px;
}

.center::-webkit-scrollbar-thumb {
    background-color: #8120f3;
    border-radius: 10px;
    border: 2px solid #444444;
}

.center::-webkit-scrollbar-thumb:hover {
    background-color: #fdaafd;
}

.user_list {
    flex-direction: row;
    display: flex;
    position: relative;
    width: 100%;
    text-align: left;
}

.trade-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 100%;
}

.trade-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    height: auto;
}

.home-elem-269 {
    flex: 0 1 calc(33.33% - 20px);
    box-sizing: border-box;
    padding: 10px;
    margin: 5px 0;
    min-width: calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
}

.home-elem-269:last-child {
    flex: 0 1 calc(33.33% - 20px);
}

button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #502775;
    color: #fdaafd;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

button:hover {
    background-color: #8120F3;
    transform: scale(1.015);
    color: #fdaafd;
}

button:focus {
    outline: none;
    box-shadow: 0 0 5px #8120F3;
}

.new_demo_account_no, .new_live_account_no, .contact-detail {
    font-size: 12px;
    padding: 6px 6px;
    border-radius: 50px;
    border: 1px solid #e86fe8;
    background-color: #e86fe8;
    color: #333;
    outline: none;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.contact-detail {
    font-weight: bold;
    width: 210px;
}

.new_demo_account_no:focus, .new_live_account_no:focus {
    border-color: #e86fe8;
    box-shadow: 0 0 5px #e86fe8;
}

.new_demo_account_no::placeholder, .new_live_account_no::placeholder {
    color: #000;
    font-style: italic;
    font-weight: bold;
}

.account_currency::-ms-expand {
    display: none;
}

.account_currency {
    font-size: 12px;
    padding: 6px 6px;
    border-radius: 50px;
    border: 1px solid #e86fe8;
    background-color: #e86fe8;
    color: #333;
    outline: none;
    font-weight: bold;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
    appearance: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.account_currency:focus, .account_currency:hover {
    border-color: #e86fe8;
    box-shadow: 0 0 5px #e86fe8;
    background-color: #e6a3e6;
}

.account_currency option {
    color: #000;
    font-weight: bold;
    font-style: normal;
}

.account_currency::-ms-expand {
    display: none;
}

.home-elem-150 {
    display: flex;
    gap: 20px;
}

.home-elem-152 {
    flex: 1;
}

.home-elem-156 {
    flex: 1;
    align-items: center;
    align-content: center;
    text-align: center;
}

@media (max-width: 768px) {
    .account_currency {
        font-size: 14px;
    }

    .trade-row {
        flex-direction: column;
    }

    .home-elem-269 {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 100%;
    }

    .home-elem-152, .home-elem-156 {
        width: 100%;
    }

    .home-elem-166, #create_live_account, #create_demo_account {
        width: 100%;
        box-sizing: border-box;
        padding: 15px;
        margin: 0 auto;
    }

    .home-elem-150 {
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        padding: 10px;
        margin: 0;
    }

    .home-elem-152 {
        display: block;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 10px;
        vertical-align: top;
        padding-left: 10px;
    }

    .home-elem-156 {
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        padding: 15px 15px 15px 0;
        overflow: hidden;
        vertical-align: top;
        width: 100%;
    }

    .accounts-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .home-elem-150 {
        padding: 10px;
        height: fit-content;
        flex-direction: column;
    }

    .home-elem-152 {
        margin-bottom: 15px;
        max-height: 650px;
    }

    .home-elem-156 {
        margin: 10px 0;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        vertical-align: top;
        justify-content: flex-start;
    }

    .home-elem-166 {
        margin: 10px;
    }

    .home-elem-166, #create_live_account, #create_demo_account {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .home-elem-435 {
        width: 40px;
    }

    .home-elem-154 {
        text-align: left;
    }

    .headline_swing_trades {
        font-size: 20px;
        font-weight: 600;
        padding: 20px 0 25px;
        height: fit-content;
    }
}
