* {
    font-family: 'Roboto', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-size: 14px;
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    height: 100vh;
    background: linear-gradient(69deg, #2f4f4f, #4682B4);
}
.loader {
    display: inline-flex;
    gap: 5px;
    animation: l3-0 1s infinite;
    transform-origin: 50% calc(100% + 2.5px);
}
.loader:before,
.loader:after {
    content: "";
    width: 25px;
    aspect-ratio: 1;
    box-shadow: 0 0 0 3px inset #fff;
}
.loader:after {
    transform-origin: -2.5px calc(100% + 2.5px);
    animation: l3-1 1s infinite;
}
@keyframes l3-1 {
    50%,
    100% {transform:rotate(180deg)}
}
@keyframes l3-0 {
    0%,
    50%  {transform:rotate(0deg)}
    100% {transform:rotate(90deg)}
}
.loader-container.active {
    display: flex;
}

.loader-btn {
    position: absolute;
    margin-left: 145px;
    margin-top: 3px;
    width: 14px;
    height: 14px;
    border: 2px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: none;
    animation: rotation 1s linear infinite;
}
.loader-btn.active {
    display: inline-block;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

BODY{

    background: linear-gradient(69deg, #2f4f4f, #4682B4);
    padding-bottom: 15px;

}

.container {
    width: 100%;
    max-width: 1280px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

.card_cont{
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    color: #2F4F4F;
}

.errorEl {
    font-size: 12px;
    font-weight: 400 !important;
    color: red !important;
    margin-top: 5px !important;
}

.header_info {
    background: #F8F8FF;
    padding: 10px 10px 10px 0;
}

.nav-payments {
    padding: 10px 20px;
    margin-left: 5px;
    border: none;
    border-radius: 5px;
    color: #F8F8FF;
    background: #704214;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s all;
}
@media(max-width: 768px) {
    .nav-payments {
        margin-left: 0;
    }
}
.nav-payments:hover {
    background: #8c4f11;
}

nav {
    display: flex;
    justify-content: flex-start;
    width: 50%;
}

.nav_sms-link {
    padding: 10px 20px;
    margin-left: 5px;
    border: none;
    border-radius: 5px;
    color: #F8F8FF;
    background: linear-gradient(69deg, #2f4f4f, #4682B4);
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s all;
}

@media(max-width: 768px) {
    nav {
        width: 100%;
    }

}
.header_info_right {
    display: flex;
    justify-content: flex-end;
    padding: 8px 0;
    width: 50%;
}

@media(max-width: 530px) {
    .header_info_right {
        width: 100%;
        justify-content: flex-start;
    }
}

.header_body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

span.name_trader {
    font-size: 20px;
}

@media(max-width: 530px) {
    span.name_trader {
        font-size: 16px;
    }
    .header_body {
        flex-direction: column-reverse;
    }
}

.cards_info{
    width: 100%;
    margin: 15px 0;
    background: #F8F8FF;
    padding: 20px;
    border: solid 2px #C6C6CC;
    border-radius: 10px;
    box-shadow: 0 2px 2px 0 #4682b4,
                0 -2px 2px 0 #2f4f4f;
    overflow-x: auto;

}

.cards_info table {
    width: 100%;
    border-collapse: collapse;
}

.cards_info table th {
    padding: 10px;
    border: 1px solid #C6C6CC;
    background-color: #4682b4;
    color: #F8F8FF;
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
}

.cards_info td {
    padding: 10px;
    border: 1px solid #C6C6CC;
}

.cards_info tr:nth-child(even) {
    background-color: #F0F0F5;
}

button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: #F8F8FF;
    background: linear-gradient(45deg, #2f4f4f, #4682B4);
    cursor: pointer;
}

button:hover {
    background: linear-gradient(45deg, #4682B4, #2f4f4f);
}

.add_card {
    width: 100%;
    background: #F8F8FF;
    padding: 20px;
    border: solid 2px #C6C6CC;
    border-radius: 10px;
    box-shadow: 0 2px 2px 0 #4682b4,
    0 -2px 2px 0 #2f4f4f;
}

.add_card form {
    display: flex;
    flex-direction: column;
}

.add_card label {
    color: #2F4F4F;
    font-weight: bold;
    margin-top: 10px;
}

.add_card input, .add_card select {
    margin-top: 5px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #C6C6CC;
}

.add_card button {
    margin-top: 20px;
    padding: 10px;
    color: #F8F8FF;
    background-color: #2F4F4F;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.add_card button:hover {
    background-color: #4682B4;
}

.add_card button:disabled, .add_card button:disabled:hover{
    opacity: 0.4;
    cursor: not-allowed;
    background-color: #2F4F4F;
}

.switch_line_head {
    align-items: center;
    background: #F8F8FF;
    padding: 10px;
    border-radius: 10px;
    margin: 15px 0 5px;
    width: 220px;
    justify-content: space-between;
    display: none;
}

.switch_label_head{
    margin: 6px;
    text-transform: uppercase;
}

.pay_l {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: #F8F8FF;
    background: linear-gradient(69deg, #2f4f4f, #4682B4);
    cursor: pointer;
    text-decoration: none;
    margin-left: 5px;
}

.th-pan {
    min-width: 180px;
}