/* General styling */
body {
    font-family: 'Nunito', sans-serif;
    background-color: #0d0823;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

h1 {
    font-size: 2rem;
    color: #ffcc00;
    text-align: center;
    margin-bottom: 1.5rem;
}

label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: block;
    color: #e6e6e6;
}

/* Style for file inputs with dashed borders */
input[type="file"] {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 2px dashed #ffcc00;
    border-radius: 8px;
    background-color: #1a103b;
    color: white;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
}

input[type="file"]::-webkit-file-upload-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #ffcc00;
    color: #0d0823;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="file"]::-webkit-file-upload-button:hover {
    background-color: #e6b800;
}

/* Enhanced style for text inputs */
input[type="text"] {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ffd700;
    border-radius: 8px;
    background-color: #1a103b;
    color: white;
    outline: none;
    box-sizing: border-box;
    font-family: 'Caveat', cursive; /* Beautiful font for wallet address */
    font-size: 0.9rem; /* Smaller font size */
    overflow: hidden; /* Ensure no scroll bars */
    white-space: nowrap; /* Prevent text wrapping */
    text-overflow: ellipsis; /* Show ellipsis if text overflows */
    transition: box-shadow 0.3s ease-in-out;
}

input[type="text"]:focus {
    box-shadow: 0 0 10px #ffd700;
    border-color: #ffcc00;
}

button {
    width: 200px;
    padding: 0.75rem;
    margin: 1rem;
    font-size: 1rem;
    font-weight: bold;
    color: #0d0823;
    background-color: #ffcc00;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #e6b800;
}

/* Adjusted container styling */
.container {
    width: 400px;
    padding: 20px; /* Increased padding slightly */
    background-color: #1a103b;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border: 1px solid #ffd700;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden; /* Ensure no overflow issues */
}

/* Separate button section */
.button-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Alert container */
#alertContainer {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 90%;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    z-index: 999;
    display: none;
}

.alert {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#particles-js {
    width: 100%;
    height: 100vh;
    background-color: #0e0033;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
