html {
    margin: 0 !important;
}

p, a, button, h1, h2, h3, h4, span, input, select, div {
    font-family: 'yekanbakh' !important;
}

#wpadminbar {
    display: none;
}

.nw_list_coin_price {
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 35px;
    height: 80vh;
    overflow: auto;
    padding-bottom: 70px;
}

.nw_coin_price_row {
    display: flex;
    background: #5d668e;
    border-radius: 16px;
    align-items: center;
    width: 100%;
    margin-bottom: 25px;
    height: max-content;
    border-right: 6px #fac801 solid;
}

.nw_row_type_parsian {
    border-right: 6px #70c844 solid;
}

.nw_row_type_shemsh {
    border-right: 6px #de3737 solid;
}

.nw_coin_price_row img {
    width: 45px;
    height: 45px;
    padding: 10px;
    display: block;
    margin: 0 10px;
}

.nw_coin_price_row_content {
    background: #5d668e;
    border-radius: 16px;
    display: flex;
    width: 100%;
    padding: 15px;

}

.nw_coin_price_row_content p {
    width: 50%;
    padding: 0 10px;
    color: #ffffff;
    text-align: center;
    margin: 0;
    font-weight: 600;
    font-size: 18px;
    border-left: solid 2px rgba(255, 255, 255, 0.38);
}

.nw_coin_price_row_content p:last-child {
    border-left: none;
}

.nw_coin_price_row_content p span {
    padding: 3px 10px;
    border-radius: 3px;
}

.nw_coin_price_row_content p strong {
    font-weight: 600;
}

.nw_coin_price_row_content p.sel_price span {
    background: rgba(15, 163, 76, 0.72);
}

.nw_coin_price_row_content p.buy_price span {

    background: rgba(211, 21, 21, 0.63);
}

.nw_coin_box_image_top {
    padding-top: 15px;
    display: flex;
    justify-content: center;
    height: 15vh;
}

.nw_coin_box_image_top img {
    width: auto;
    height: 100%;
}

.nw_go_coin_admin_page {
    width: 100%;
    display: block;
    padding: 20px 10px;
    background: #585858;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    text-align: center;
    font-weight: 600;
}

/****** Admin ******/
.nw_box_page {
    /*padding: 20px;*/
    /*width: 100%;*/
    /*border-radius: 12px;*/
    /*background: #ffffff;*/
    /*box-sizing: border-box;*/
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0;
}

.nw_box_page * {
    box-sizing: border-box;
}

.nw_box_page .nw_coin_box_new_btn {
    display: flex;
    width: 100%;
    justify-content: end;
    margin-bottom: 20px;
}

.nw_box_page .nw_coin_box_new_btn a {
    background: #f9c900;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5d668e;
    font-weight: 800;
    font-size: 15px;
    width: 100%;
    justify-content: center;
}

.nw_box_page .nw_coin_box_new_btn img {
    width: 25px;
    height: 25px;
}

.nw_admin_table {
    width: 100%;
}

.nw_head_table {
    width: 100%;
    display: flex;
    align-items: center;
    background: #5d668e;
    color: #ffffff;
    padding: 10px 8px;
}

.nw_row_table {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px 8px;
}

.nw_row_table:nth-child(even) {
    background: #F2F2F2;
}

.nw_row_table > div, .nw_head_table > div {
    width: 16.5%;
    padding: 5px;
    text-align: center;
    font-size: 15px;
    border-left: solid 1px #eee;
}

.nw_row_table > div:last-child, .nw_head_table > div:last-child {
    border-left: none;
}

.nw_row_table .nw_coin_price_row_icons {
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 0 20px;
    gap: 6px;
    flex-wrap: wrap;
}

.nw_row_table .nw_coin_price_row_icons input {
    border: solid 2px #5d668e;
    width: 20px;
    height: 20px;
    margin-top: 3px;
}

.nw_row_table .nw_coin_price_row_icons svg {
    width: 25px;
    height: 25px;
    padding: 3px;
    display: block;
    cursor: pointer;
}


/*** form ***/
form.nw_box_page {
    justify-content: start;
}

form.nw_box_page label {
    width: 40%;
    display: flex;
    margin-bottom: 25px;
    align-items: center;
}

form.nw_box_page label span {
    width: 20%;
    font-size: 15px;
    font-weight: 500;
}

form.nw_box_page label input, form.nw_box_page label select {
    width: 60%;
    height: 40px;
    border: solid 2px #5d668e;
    border-radius: 3px;
    padding: 0 10px;
}

.nw_box_btn {
    width: 100%;
    margin-top: 30px;
}

form.nw_box_page button {
    width: max-content;
    display: block;
    padding: 12px 25px;
    background: #f9c900;
    color: #5d668e;
    border-radius: 6px;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}


form.nw_box_page button:hover {
    background: #ffd215;
    color: #4e5881;
}

.nw_box_notif {
    width: max-content;
    padding: 10px 20px;
    border-radius: 6px;
    background: #0FA34C;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 30px;
}

.nw_back_page {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 17px;
}

.nw_coin_price_form {
    display: flex;
    align-items: end;
    gap: 20px;
    margin-left: 20px;
    width: 100%;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.nw_coin_price_form input {
    width: 100% !important;
    border-radius: 6px !important;
    border: solid 2px #5d668e !important;
    height: 40px;
    padding: 0 10px;
    margin-top: 5px;
}

#now_price_input {
    border-color: #0FA34C !important;
}

#now_price_buy_input {
    border-color: #d31515 !important;
}

.nw_coin_price_form button {
    background: #5d668e;
    color: #ffffff;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    padding: 13px 20px;
}

.nw_coin_price_form button:hover {
    background: #444f7c;
    color: #ffffff;
}

.nw_coin_price_form label {
    font-size: 12px !important;
    color: #2b2b2b;
}

.nw_admin_table_mobile {
    display: none;
    width: 100%;
}

.nw_row_mobile_table {
    border: solid 1px #EEEEEE;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 15px;
    width: 100%;
}

.nw_row_mobile_table_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nw_row_mobile_table_head > p {
    width: 40%;
    font-size: 15px;
    font-weight: 500;
}

.nw_row_mobile_table_content {
    padding: 10px;
    display: none;
}

.nw_row_mobile_table_content > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: solid 1px #444f7c17;
}

.nw_row_mobile_table_content p {
    font-size: 14px;
    color: #626262;
}

.nw_row_mobile_table_content strong {
    font-size: 15px;
    color: #2b2b2b;
}

.nw_switch_api_price {
    display: flex;
    width: 100%;
    align-items: center;
    font-size: 15px;
    color: #2b2b2b;
    margin: 20px 0;
    padding: 15px;
}

/* From Uiverse.io by WhiteNervosa */
.nw_switch_api_price .slider {
    background-color: #ffffff2b;
    border-radius: 100px;
    padding: 1px;
    margin: 10px;
    cursor: pointer;
    transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0s;
    align-items: center;
    position: relative;
    display: block;
    width: 51px;
    height: 29px;
    box-shadow: rgba(0, 0, 0, 0.62) 0px 0px 5px inset, rgba(0, 0, 0, 0.21) 0px 0px 0px 24px inset,
    #22cc3f 0px 0px 0px 0px inset, rgba(224, 224, 224, 0.45) 0px 1px 0px 0px;
}

.nw_switch_api_price .slider::after {
    content: "";
    display: flex;
    top: 2.3px;
    left: 2px;
    width: 26px;
    height: 26px;
    background-color: #e3e3e3;
    border-radius: 200px;
    position: absolute;
    box-shadow: transparent 0px 0px 0px 2px, rgba(0, 0, 0, 0.3) 0px 6px 6px;
    transition: left 300ms cubic-bezier(0.4, 0, 0.2, 1) 0s, background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0s;
    will-change: left, background-color;
}

.nw_switch_api_price .switch input[type="checkbox"]:checked + .slider {
    box-shadow: rgba(0, 0, 0, 0.62) 0px 0px 5px inset, #22cc3f 0px 0px 0px 2px inset, #22cc3f 0px 0px 0px 24px inset,
    rgba(224, 224, 224, 0.45) 0px 1px 0px 0px;
}

.nw_switch_api_price .switch input[type="checkbox"]:checked + .slider::after {
    left: 24px;
}

.nw_switch_api_price .switch input[type="checkbox"] {
    display: none;
}


@media (max-width: 1100px) {
    .nw_coin_price_row {
        width: 100% !important;

    }
}

@media (max-width: 950px) {
    .nw_admin_table_mobile {
        display: block;
    }

    .nw_admin_table {
        display: none;
    }

    .nw_list_coin_price {
        padding: 20px;
    }

    .nw_coin_box_new_btn {
        flex-wrap: wrap;
        gap: 13px;
    }

    .nw_coin_box_new_btn form {
        width: 100%;
        margin: 0;
    }

    form.nw_box_page label {
        width: 100%;
    }

    .nw_coin_price_row_content {
        align-items: center;
        padding: 10px;
        min-height: 60px;
    }

    .nw_coin_price_row img {
        width: 30px;
        height: 30px;
        padding: 5px;
        margin-left: 5px;
    }

    .nw_box_page .nw_coin_price_row_content {
        width: 60%;
        flex-wrap: wrap;
        align-items: center;
        gap: 7px;
    }

    .nw_coin_price_row_content p:first-child {
        width: 28%;
    }

    p.nw_title_other {
        width: 50% !important;
    }

    .nw_box_page .nw_coin_price_row_content p {
        width: 45%;
        border-left: 0;
    }

    .nw_coin_price_row_icons {
        gap: 6px !important;
        width: 40% !important;
    }

    .nw_coin_price_row_icons > * {
        width: 45% !important;
    }

    .nw_coin_price_row_icons > input {
        width: 100% !important;
    }

    .nw_coin_price_row_content p {
        font-size: 13px;
    }

    .nw_coin_price_row_content p span {
        font-size: 15px;
        min-height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1.5em;
    }
}