body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f2f5;
    margin: 0;
    padding: 20px 0;
}

.container {
    background: white;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 650px;
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.8em;
}

.controls div {
    margin-bottom: 18px;
    text-align: left;
}

.controls label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #444;
    font-size: 0.95em;
}

.controls input[type="file"],
.controls input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
}

.controls input[type="file"] {
    padding: 6px 10px;
}

#infoDisplay {
    margin-top: 15px;
    margin-bottom: 20px;
    font-style: italic;
    color: #555;
    font-size: 0.9em;
    min-height: 1.2em;
}

#imagePreviewContainer {
    margin-top: 20px;
    position: relative;
    max-width: 100%;
    display: inline-block;
    border: 2px dashed #d0d0d0;
    background-color: #f9f9f9;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#uploadedImage {
    display: none;
    max-width: 100%;
    max-height: 60vh;
    border-radius: 2px;
    object-fit: contain;
}

#cropRectangle {
    position: absolute;
    border: 3px solid rgba(236, 64, 52, 0.75);
    box-sizing: border-box;
    pointer-events: none;
    display: none;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.4);
}
.kofi-iframe-container {
    padding-top: 20px;
    width: 90%;
    max-width: 650px;
    text-align: center;
}