@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    /* background-color: #f1f1f1; */
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wallet_container {
    max-width: 700px;
    width: 100%;
    height: 600px;
    padding: 10px;
    margin: 0 auto;
}

.wallet_container h4 {
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.wallets {
    width: 100%;
    height: 95%;
    overflow-y: auto;
    margin: 20px 0 10px 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wallets .wallet {
    width: 100%;
    padding: 6px 15px;
    border: 1px solid rgba(0, 0, 0, 0.13);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer !important;
}

.wallet .first {
    display: flex;
    align-items: center;
    gap: 8px;
}

.first .active_dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #19a974;
}

.first .wallet_name {
    font-size: 15px;
    font-weight: 600;
    color: #587087;
}

.wallet_icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wallet_icon img {
    width: 35px;
    height: 35px;
}

.loader_popup_component {
    z-index: 10;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.11);
    display: none;
}

.loader_popup_component .modal {
    max-width: 400px;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.575);
    background: white;
    margin: 10px auto;
}

.loader_popup_component .cancelPage {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #587087;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
}

.cancelPage i {
    font-size: 18px;
}

.cancelPage span {
    font-size: 15px;
    font-weight: 500;
}

/* Loading component */
.active_loading {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin: 10px 0;
}

.loading-square {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.square-dot {
    width: 6px;
    height: 6px;
    background-color: #587087;
    position: absolute;
    opacity: 0;
    border-radius: 50%;
    animation: square-loading 1.2s infinite ease-in-out;
}

.square-dot:nth-child(1) { top: 0; left: 0; animation-delay: 0s; }
.square-dot:nth-child(2) { top: 0; right: 0; animation-delay: 0.3s; }
.square-dot:nth-child(3) { bottom: 0; right: 0; animation-delay: 0.6s; }
.square-dot:nth-child(4) { bottom: 0; left: 0; animation-delay: 0.9s; }

@keyframes square-loading {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* end of loading component */

.loading-dots::after {
    content: "";
    animation: loading-dots 1.2s steps(3, end) infinite;
}

/* Keyframes for loading dots animation */
@keyframes loading-dots {
    0% { content: ""; }
    33% { content: "."; }
    66% { content: ".."; }
    100% { content: "..."; }
}

.active_loading p {
    font-size: 14px;
    color: #587087;
    font-weight: 500;
}

.modal .wallet-type {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px 0;
    gap: 10px;
}

.wallet-type p {
    color: #587087;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
}

.wallet-type .wallet_icon img {
    width: 25px;
    height: 25px;
}

.modal .text {
    font-size: 14px;
    color: #587087;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    font-weight: 500;
    margin: 5px 0;
}

.popup_form_modal {
    z-index: 10;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.11);
    display: none;
    align-items: center;
    justify-content: center;
}

.popup_form_modal form {
    max-width: 500px;
    width: 100%;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.123);
    background: white;
    margin: 10px auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wallet-token-details {
    padding: 10px;
}

.wallet-token-details .token-header {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    margin-bottom: 15px;
}

.token-header .wallet-type-icon img {
    width: 40px;
    height: 40px;
}

.token-header h4 {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.wallet-token-details .details-input-container .tabs {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.tab-button {
    padding: 10px 20px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    margin-right: 5px;
    color: #333333cc;
    letter-spacing: 1px;
    font-size: 15px;
    border-bottom: 2px solid #3333332c;
}

.tab-button:hover {
    border-bottom: 1px solid blue;
}

.tab-button.active {
    border-bottom: 1px solid blue;
    transition: all 0.3s ease
}

.tab-content {
    display: none;
    padding: 2px;
}

.tab-content.active {
    display: block;
}

.tab-content textarea {
    width: 100%;
    height: 70px;
    outline: none;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 5px;
    color: #333;
    font-weight: 500;
    border-radius: 8px;
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.199);
    margin-bottom: 10px;
}

.tab-content input[type="text"] {
    width: 100%;
    height: 35px;
    border: 1px solid rgba(0, 0, 0, 0.534);
    outline: none;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 5px;
    color: #333;
    font-weight: 500;
    border-radius: 8px;
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.199);
    margin: 10px 0;
}

.tab-content span {
    font-size: 11px;
    font-weight: 400;
    margin: 20px 0;
    text-align: center;
    color: #333;
}

.tab-content button {
    width: 100%;
    margin: 20px 0 10px 0;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 500;
    color: white;
    background: #3182ce;
    outline: none;
    border-radius: 5px;
    border: none;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.cancel-form-btn {
    margin: 10px 0;
    width: 100%;
    text-align: right;
}

.cancel-form-btn button {
    width: 100px;
    background: #e53e3e;
    padding: 10px;
    color: white;
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 5px;
}

.successContainer {
    width: 40%;
    padding: 10px;
    background-color: red;
    color: white;
    text-align: center;
    text-transform: capitalize;
    position: absolute;
    top: 50%;
    /* left: 5rem; */
    left: 50%;
    border-radius: 8px;
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.144);
    display: none;
    justify-content: center;
    align-items: flex-end;
}