:root {
    --modal-bg-color: rgba(0, 0, 0, 0.8);
    --modal-content-bg: #1f1f1f;
    --button-bg: linear-gradient(198deg,#fc903a,#ff3e67);
    --button-hover-bg: linear-gradient(198deg,#fc903a,#ff3e67);
    --button-color: #fff;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --border-radius: 12px;
    --transition-speed: 0.3s;
    --modal-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    --button-shadow: 0 4px 14px rgba(255, 99, 71, 0.4);
    --modal-border: 1px solid rgba(255, 255, 255, 0.1);
}

body {
    font-family: var(--font-family);
 
}

.wallet-adapter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--modal-bg-color);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
    z-index: 1000;
}

.wallet-adapter-modal.show {
    opacity: 1;
    visibility: visible;
}

.wallet-adapter-modal-container {
        margin: auto !important;
        width: 400px;
        padding: 24px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
        background: #222037;
        border-radius: 10px;
        color: var(--color);
        overflow: hidden;
    }

.swal2-header{


    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin:-24px -24px 10px;
    font-weight: 600;
    border-radius: 10px 10px 0 0;
    background: #29273d;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 20px;


}

.swal2-subtext{

    padding: 8px 16px;
    border: 1px solid #29273d;
    margin-top: 16px;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 10px 10px 10px 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 20px;


}
.wallet-adapter-modal.show .wallet-adapter-modal-container {
    transform: scale(1);
}

.wallet-adapter-modal-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.wallet-adapter-button {
    background-color: #ffffff0f;
    color: var(--button-color);
    border: none;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-image var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: 22px;
    font-weight: bold;
    outline: none;
    width: 100%;
}

.wallet-adapter-button:hover {
    background-image: linear-gradient(198deg,#fc903a,#ff3e67);
    box-shadow: 0 6px 20px rgba(255, 99, 71, 0.6);
}

.wallet-adapter-icon {
    display: flex;
    align-items: center;
    cursor: pointer;
    /* padding: 20px 30px; */
    background: #ffffff0f;
    border-radius: 10px;
    font-size: 17px;
    /* margin-bottom: 20px; */
    /* border: 2px solid transparent; */
    width: 40px;
    height: 40px;
}

.wallet-adapter-text {
    flex-grow: 1;
    text-align: left;
    margin-left: 10px;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #ccc;
    transition: color var(--transition-speed) ease;
    outline: none;
}

.close-button:hover {
    color: #fff;
}

.recommended-text {
    color: green;
    font-size: 13px;
}

@media (max-width: 768px) {
    .wallet-adapter-modal-container {
        max-width: 90%;
        padding: 20px;
    }

    .wallet-adapter-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}