* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 30px 20px;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fb;
    color: #1f2937;
}

.app {
    max-width: 850px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    margin-bottom: 8px;
    font-size: 2.2rem;
}

.subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.model-info {
    text-align: center;
    color: #6b7280;
    margin-bottom: 25px;
}

.status-box {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 20px;
}

.card {
    background: white;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card h2 {
    margin-top: 0;
}

input[type="file"] {
    margin-bottom: 18px;
}

.image-container {
    text-align: center;
}

#image-preview {
    max-width: 100%;
    max-height: 450px;
    margin: 0 auto;
    border-radius: 10px;
    border: 1px solid #d1d5db;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

textarea {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    resize: vertical;
    margin-bottom: 15px;
}

button {
    width: 100%;
    padding: 13px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: white;
    cursor: pointer;
}

button:hover:not(:disabled) {
    background: #1d4ed8;
}

button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.answer-box {
    min-height: 70px;
    padding: 15px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1.05rem;
    line-height: 1.5;
}

.responsible-ai {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    padding: 20px;
    margin-top: 25px;
}

.responsible-ai h2 {
    margin-top: 0;
}

.responsible-ai p {
    line-height: 1.6;
}

footer {
    text-align: center;
    margin-top: 30px;
    color: #6b7280;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    body {
        padding: 15px;
    }

    h1 {
        font-size: 1.7rem;
    }

    .card {
        padding: 16px;
    }
}