/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body and General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #0d0d0d; /* Dark background */
    color: #ffffff; /* White text for contrast */
    line-height: 1.6;
}

/* Header Styles */
header {
    text-align: center;
    padding: 20px;
    background: linear-gradient(to right, #1a1a1a, #003366); /* Dark blue gradient */
}

.logo {
    width: 150px; /* Adjust logo size */
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

/* Wallet List Styles */
.wallet-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.wallet {
    background-color: #1a1a1a; /* Darker wallet box */
    border: 1px solid #003366; /* Border color */
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.wallet:hover {
    transform: scale(1.05); /* Scale effect on hover */
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
}

.modal-content {
    background-color: #222; /* Dark modal background */
    margin: 15% auto; /* Center the modal */
    padding: 20px;
    border: 1px solid #003366;
    width: 80%; /* Full width */
    max-width: 600px; /* Limit width */
    border-radius: 8px; /* Rounded corners */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column; /* Stack inputs vertically */
}

textarea {
    width: 100%;
    height: 100px; /* Adjust height */
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #003366;
    background-color: #333; /* Darker background for text area */
    color: white; /* White text */
    resize: none; /* Prevent resizing */
}

.submit-button {
    padding: 10px;
    background-color: #003366; /* Button color */
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #005599; /* Darker shade on hover */
}

/* Loading Styles */
.loading {
    display: none; /* Hidden by default */
    text-align: center;
    margin-top: 10px;
    color: #FFD700; /* Gold color for loading text */
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    background-color: #1a1a1a; /* Dark footer background */
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    display: inline;
    margin: 0 15px;
}

footer a {
    color: #FFD700; /* Gold links */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .wallet-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjust for smaller screens */
    }
}
