/* my-btcusd-dapp-vanilla/style.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 900px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.title-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.title-logo {
    height: 50px;
    width: auto;
}

.title-container h1 {
    margin: 0;
}

.sub-heading {
    font-size: 0.8em;
    font-weight: normal;
    color: #666;
}

h1,
h2,
h3,
h4 {
    color: #333;
}

button {
    padding: 10px 15px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    font-size: 1em;
}

button:hover:not(:disabled) {
    background-color: #0056b3;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.button-like {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    background-color: #ff9800;
    /* A nice orange for MetaMask */
    color: white !important;
    /* Ensure text is white against the orange */
    cursor: pointer;
    font-size: 1em;
    text-decoration: none;
    text-align: center;
    font-family: Arial, sans-serif;
    /* Match other buttons */
    font-weight: bold;
}

input[type="number"] {
    padding: 10px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: calc(100% - 22px);
    /* Adjust for padding and border */
    max-width: 200px;
}

hr {
    margin: 25px 0;
    border: 0;
    border-top: 1px solid #eee;
}

section {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #e9e9e9;
    border-radius: 5px;
}

#walletInfo p,
#userInfo p {
    margin: 8px 0;
}

#walletInfo span,
#userInfo span {
    font-weight: bold;
    color: #0056b3;
}

.status-message {
    margin-top: 10px;
    font-style: italic;
    font-weight: bold;
    /* Make it stand out a bit more */
}

.status-message.info {
    color: #555;
}

.status-message.success {
    color: #28a745;
    /* A nice green for success */
}

.status-message.error {
    color: #dc3545;
    /* A standard red for error */
}

.error-message {
    color: red;
    font-weight: bold;
    margin-top: 15px;
}

/* --- Vault Section Styling --- */
.vault-section {
    background: linear-gradient(145deg, #4a4a4a, #2c2c2c);
    /* Dark gradient background */
    color: #f0f0f0;
    /* Light text color for contrast */
    border: 2px solid #c9ac5a;
    /* Gold-like border */
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);

    /* --- To use a background image, uncomment and adjust the lines below --- */
    /*
    background-image: url('images/your-vault-graphic.png');
    background-size: cover;
    background-position: center;
    */
}

/* Override status message colors for the dark vault background */
.vault-section .status-message.info {
    color: #cccccc;
    /* Light grey for info */
}

.vault-section .status-message.success {
    color: #56cbf9;
    /* A bright, friendly blue for success */
}

.vault-section .status-message.error {
    color: #ff7b7b;
    /* A brighter red for error on dark background */
}

.vault-section h2,
.vault-section h4,
.vault-section p {
    color: #ffffff;
    /* White text for headings and paragraphs inside the vault */
}

.vault-section button {
    background-color: #d4af37;
    /* A gold-like color for the button */
    color: #2c2c2c;
    /* Dark text on the button */
    font-weight: bold;
    border: 1px solid #a78b2a;
}

.vault-section button:hover:not(:disabled) {
    background-color: #c9ac5a;
}

.vault-section input[type="number"] {
    background-color: #555;
    color: #fff;
    border-color: #777;
}

/* --- Footer Styling --- */
footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #888;
}

footer p {
    margin: 5px 0;
    font-size: 0.9em;
}

footer a {
    color: #007bff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}