/* General Dialog Styling */
#dialog-container, #secondary-dialog-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.dialog {
    background-color: #ffffff;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    font-family: Arial, sans-serif;
    color: #333; /* Ensure text color is visible */
    text-align: left;
}

/* Dialog Header */
.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 10px;
}

.dialog-header h2 {
    margin: 0;
    font-size: 18px; /* Explicit font size */
    color: #000; /* Ensure header text is visible */
}

.dialog-header .close-dialog {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}

/* Dialog Body */
.dialog-body p {
    font-size: 14px;
    color: #555; /* Ensure paragraph text is visible */
}

.wallet-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wallet-option {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ensures proper alignment of name and tag */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    background-color: #fff; /* Ensure background is white */
    transition: background-color 0.2s ease;
}

.wallet-option img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    object-fit: contain;
}

.wallet-option span {
    font-size: 14px;
    color: #333;
}

.wallet-option .tag {
    margin-left: auto; /* Pushes "Popular" tag to the far right */
    background-color: #007bff;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap; /* Prevents wrapping */
}

.wallet-option:hover {
    background-color: #f0f0f0;
}

/* Footer Link */
.dialog-footer a {
    font-size: 12px;
    color: #007bff;
    text-decoration: none;
}

.dialog-footer a:hover {
    text-decoration: underline;
}

/* General Styling */
#secondary-dialog-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.dialog {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Header Styling */
.dialog-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Tab Styling */
.tab-container {
    display: flex;
    border-bottom: 1px solid #ccc;
    margin-bottom: 15px;
}

.tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    background-color: #f9f9f9;
    border: none;
    font-size: 14px;
    color: #333;
    transition: background-color 0.3s;
}

.tab:hover {
    background-color: #e6e6e6;
}

.active-tab {
    background-color: #007bff;
    color: white;
}

/* Footer Button */
.dialog-footer button {
    font-size: 14px;
    font-weight: bold;
}

.svg-icon {
    margin-right: 16px; /* Add spacing around the SVG */
    padding: 0px; /* Add spacing inside the SVG (may not visibly affect the shape) */
    background-color: #f0f0f0; /* Background to visualize padding */
    display: inline-block; /* Ensure it behaves like a box for margin and padding */
}
