body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

.wallet-container {
    max-width: auto;
    margin: 20px auto;
    margin-left: 10px;
    margin-right: 10px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.main-header {
    background-color: #ffffff;
    color: #000000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    user-select: none;
}

.logo {
    font-size: 1.5em;
}

.navbar {
    display: flex;
    user-select: none;
}

.navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar li {
    margin-right: 20px;
}

.navbar a {
    text-decoration: none;
    color: #000000;
    font-family: 'Arial Rounded MT Bold', sans-serif;
}

.navbar a:hover {
    color: #00246B;
}

.navbar-toggle {
    display: none;
    cursor: pointer;
}

@media only screen and (max-width: 768px) {
    .navbar {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
    }

    .navbar.show {
        display: flex;
    }

    .navbar ul {
        flex-direction: column;
    }

    .navbar li {
        margin: 10px 0;
    }

    .navbar-toggle {
        display: block;
        cursor: pointer;
    }
}

h1 {
    font-size: large;
}

#balance-display {
    background-color: #a8c5f1;
    padding: 20px;
    border-radius: 8px;
    margin: 20px;
}

#balance-display p{
    color: #00246B;
    font-weight: bold;
}

#transaction-history {
    background-color: #a8c5f1;
    padding: 20px;
    border-radius: 8px;
    margin: 20px;
}

ul {
    list-style: none;
    padding: 0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: white;
}

.modal-content {
    background-color: #a8c5f1;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal.show {
    display: block;
}

#team .modal-content {
    max-width: 600px;
}

.levels {
    display: flex;
    flex-direction: column;
}

.levels ol {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.levels ol li {
    margin-bottom: 15px;
}

.members {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.members li {
    color: #555;
    margin-right: 10px;
}


.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.info {
    display: flex;
    justify-content: space-between;
}

.balance-toggle-btn {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 16px;
    margin-left: 10px;
}

.field-icon {
    margin-left: 10px;
    cursor: pointer;
}

.no {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #00246B;
}

h3 {
    text-align: center;
    color: #00246B;
}

input[type="text"],
input[type="password"],
button {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

button {
    background-color: #00246B;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 15px;
}

button:hover {
    opacity: 0.8;
}

.sign-out-button {
    background-color: #00246B;
}

.sign-out-button:hover {
    background-color: #d32f2f;
}

#transaction-history {
        background-color: #f9f9f9;
        padding: 20px;
        border-radius: 8px;
    }

    #transaction-list {
        padding: 0;
        margin: 0;
    }

    #transaction-list .category-header {
        font-weight: bold;
        border-bottom: 2px solid #333;
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
    }

    #transaction-list li {
        padding: 10px 0;
        border-bottom: 1px solid #ccc;
        font-size: 16px;
        color: #666;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #transaction-list li:last-child {
        border-bottom: none;
    }

    #transaction-list li span {
        flex: 1;
        text-align: center;
    }