.hdq_quiz.hdq_hidden {
    display: none;
}

.dia_chi_vi input {
    display: none !important;
}

#btn-connect-wallet {
    display: inline-block;
    margin-right: 10px;
    padding: 9px;
    background-color: #FAFAFA;
    border: thin solid #dddddd;
    border-radius: 0;
    color: #666;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    cursor: pointer;
    transition: all 0.3s ease;
}

#btn-connect-wallet:hover {
    background-color: #cacaca;
}

/* ID */

div#text-2 {
    display: none !important;
}

/* Hộp Popup chính */

#wallet-connect-popup-overlay {
    display: none;
    position: fixed;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
}

.wallet-popup-content {
    position: relative;
    width: 90%;
    max-width: 450px;
    padding: 20px;
    background: #fff;
    border: thin solid #e7e7e7;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: #000000;
    font-family: sans-serif;
}

.wallet-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 30px;
}

.wallet-popup-header h3 {
    margin: 0;
    color: #000000;
    font-size: 18px;
}

.close-popup-btn {
    width: 40px;
    height: 40px;
    padding: 8px;
    background-color: transparent;
    border: none;
    border-radius: 0;
    color: #888;
    font-size: 25px;
    cursor: pointer;
}

.close-popup-btn:hover {
    background-color: #ddd;
    color: #333;
}

.section-title {
    margin-bottom: 10px;
    color: #000;
    font-size: 14px;
}

.wallet-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.wallet-option-btn {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: thin solid #ddd;
    border-radius: 4px;
    padding: 15px 5px 10px;
    cursor: pointer;
    transition: 0.2s;
}

.wallet-option-btn:hover {
    background: #e7e7e7;
}

.w-icon {
    display: block;
    margin-bottom: 4px;
    font-size: 24px;
}

.w-name {
    color: #434343;
    font-size: 12px;
}

/* Chưa cài Ví */

.wallet-popup-content {
    overflow: hidden;
}

.wallet-viewport {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.wallet-slider {
    display: flex; width: 200%;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.wallet-slider.slide-active {
    transform: translateX(-50%) !important;
}

.wallet-step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}

.wallet-step.step-select {
    width: 50%;
    box-sizing: border-box;
}

.wallet-step.step-install {
    width: 50%;
    box-sizing: border-box;
    text-align: center;
}

.install-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.install-back-btn {
    display: flex;
    align-items: center;
    color: #dcb059;
    font-weight: 600;
    cursor: pointer;
}

.install-back-btn:hover {
    opacity: 0.8;
}

#install-wallet-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 15px;
    border-radius: 12px;
}

#install-wallet-text {
    margin-bottom: 25px;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
}

#install-wallet-link {
    display: inline-block;
    padding: 5px 12px;
    background-color: #dcb059;
    border-radius: 3px;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
}

/* Nút Thay đổi xuất hiện sau khi kết nối */

.btn-change-wallet {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 8px;
    font-size: 12px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 3px;
    vertical-align: middle;
}

.btn-change-wallet:hover {
    background: #e0e0e0;
}

/* Nút Ngắt kết nối */

.btn-disconnect-wallet {
    margin-left: 5px;
    padding: 2px 8px;
    font-size: 12px;
    background: #ffebee;
    border: 1px solid #ffcdd2;
    color: #c62828;
    cursor: pointer;
    border-radius: 3px;
    vertical-align: middle;
    display: inline-block;
}

.btn-disconnect-wallet:hover {
    background: #ef9a9a;
    color: #b71c1c;
}