/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #1e2a47; /* Dark background */
    color: #f1f1f1; /* Light text color */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* App Container */
.app-container {
    background-color: rgba(0, 0, 0, 0.7); /* Dark background for container */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    transition: all 0.3s ease-in-out;
}

header h1 {
    text-align: center;
    font-size: 28px;
    color: #61dafb; /* Light blue for header */
    margin-bottom: 20px;
}

h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #f1f1f1; /* Light text color */
}

button {
    padding: 12px 24px;
    background-color: #61dafb; /* Light blue for button */
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    width: 100%;
}

button:hover {
    background-color: #4da1d1; /* Medium blue for hover */
}

input[type="number"], select {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #444; /* Dark border for inputs */
    border-radius: 6px;
    margin-top: 8px;
    transition: border-color 0.3s ease;
    background-color: #333; /* Dark background for inputs */
    color: #f1f1f1; /* Light text for inputs */
}

input[type="number"]:focus, select:focus {
    border-color: #61dafb; /* Light blue border on focus */
    outline: none;
}

/* Wallet Address */
.wallet-address {
    font-weight: bold;
    margin-top: 10px;
    font-size: 16px;
    color: #f1f1f1; /* Light text color */
}

/* Footer */
footer {
    text-align: center;
    font-size: 14px;
    margin-top: 30px;
}

footer p {
    color: #ddd; /* Light gray for footer text */
}

footer a {
    color: #61dafb; /* Light blue for links */
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

/* Dark Mode */
body.dark-mode {
    background-color: #333;
    color: #f4f4f4;
}

body.dark-mode .app-container {
    background-color: #444;
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.1);
}

body.dark-mode button {
    background-color: #4da1d1; /* Medium blue in dark mode */
}

body.dark-mode footer a {
    color: #A1D6A1; /* Soft green for links in dark mode */
}

/* Responsive Styles */
@media (max-width: 600px) {
    .currency-selector {
        flex-direction: column;
        align-items: flex-start;
    }

    label {
        flex-basis: 100%;
        margin-bottom: 8px;
    }

    select,
    input[type="number"] {
        width: 100%;
    }

    button {
        width: 100%;
        font-size: 16px;
    }

    header h1 {
        font-size: 24px;
    }
}

@media (max-width: 400px) {
    .app-container {
        padding: 20px;
    }

    header h1 {
        font-size: 22px;
    }

    button {
        font-size: 14px;
    }
}
