* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    justify-content: center;
    height: 100vh;
    overflow: hidden; /* Prevents accidental scrolling */
}

.app-container {
    width: 100%;
    max-width: 400px; /* Mobile phone width constraints */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.content-area {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.image-preview {
    width: 100%;
    height: 250px;
    background-color: #e0e0e0;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: #888;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.large-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 16px;
    text-align: center;
}

/* THUMB ZONE STYLING */
.thumb-zone {
    padding: 20px;
    padding-bottom: 40px; /* Extra padding for phone bezels/home bars */
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary {
    background-color: #007aff;
    color: white;
}

.btn-secondary {
    background-color: #e5f1ff;
    color: #007aff;
}
