.generator-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #c0c0c0;
    border: 2px outset #ffffff;
    box-shadow: 4px 4px 0px #000000;
    font-family: "MS Sans Serif", Arial, sans-serif;
}

h1 {
    font-size: 24px;
    margin-top: 0;
    color: #000080;
    border-bottom: 2px groove #ffffff;
    padding-bottom: 10px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

textarea {
    width: 100%;
    height: 80px;
    padding: 8px;
    border: 2px inset #ffffff;
    background: #ffffff;
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 14px;
    resize: vertical;
}

.options-group {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px;
    background: #d0d0d0;
    border: 1px inset #ffffff;
}

#model-select {
    padding: 2px;
    font-family: "MS Sans Serif", Arial, sans-serif;
}

#credit-balance {
    font-weight: bold;
    color: #000080;
    margin-left: auto;
}

.retro-button {
    padding: 6px 16px;
    background: #c0c0c0;
    border: 2px outset #ffffff;
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-weight: bold;
    cursor: pointer;
}

.retro-button:active {
    border: 2px inset #ffffff;
}

.retro-button:disabled {
    color: #808080;
    cursor: not-allowed;
}

#status-message {
    margin: 10px 0;
    padding: 10px;
    background: #ffffcc;
    border: 1px solid #808000;
    font-weight: bold;
    text-align: center;
}

.status-hidden {
    display: none;
}

#result-container {
    margin-top: 20px;
    text-align: center;
}

.result-hidden {
    display: none;
}

.image-frame {
    display: inline-block;
    padding: 10px;
    background: #ffffff;
    border: 2px inset #ffffff;
    margin-bottom: 15px;
}

#generated-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}
