body {
    background-color: #f0f0f0;
    font-family: "Times New Roman", Times, serif;
    color: #333;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.faucet-container {
    width: 800px;
    background: white;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.faucet-image {
    width: 150px;
    margin-right: 20px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faucet-image img {
    max-width: 100%;
    max-height: 100%;
}

.header-text h1 {
    font-size: 48px;
    font-weight: bold;
    color: #ccc; /* Mimic the grey title */
    margin: 0;
}

.header-text h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

.header-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.available-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* Internal Captcha Styling mimicking ReCaptcha v1 */
.captcha-container {
    width: 320px;
    height: 140px; /* Adjusted height */
    border: 1px solid #cc0000; /* Dark red border */
    background-color: #800000; /* Dark red background */
    border-radius: 4px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.captcha-header {
    display: flex;
    justify-content: space-between;
    padding: 2px 10px;
    margin-bottom: 5px;
    background-color: white; /* White rectangular box */
}

.captcha-header-text {
    font-family: serif;
    font-style: italic;
    color: black; /* Text in black */
    font-size: 20px;
    font-weight: bold;
}

.captcha-main {
    display: flex;
    background-color: #800000;
}

.captcha-input-area {
    background-color: #fceea7; /* Yellowish background */
    border-radius: 4px;
    padding: 10px;
    width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.captcha-label {
    font-size: 12px;
    color: #333;
    margin-bottom: 5px;
}

.captcha-input {
    width: 90%;
    border: 1px solid #999;
    padding: 4px;
}

.captcha-display-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.captcha-challenge {
    font-family: "Courier New", Courier, monospace;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
    background: #500;
    padding: 5px;
    border: 1px dashed #fceea7;
    margin-bottom: 5px;
}

.refresh-btn {
    background: none;
    border: none;
    color: #fceea7;
    cursor: pointer;
    font-size: 10px;
    text-decoration: underline;
}

.wallet-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wallet-label {
    font-size: 16px;
    color: #666;
}

.wallet-input {
    flex-grow: 1;
    padding: 5px;
    border: 1px solid #ccc;
    background-color: #eee;
    color: #555;
    font-family: monospace;
}

.get-some-btn {
    padding: 5px 15px;
    background-color: #f0f0f0;
    border: 1px solid #999;
    cursor: pointer;
    font-weight: bold;
    color: #333;
}

.get-some-btn:hover {
    background-color: #e0e0e0;
}

.get-some-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.status-message {
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}
.success { color: green; }
.error { color: red; }

/* Modal Styling for Password */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    text-align: center;
    border-radius: 8px;
}
