* { box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: #f4f6f9; margin: 0; padding: 20px; display: flex; justify-content: center; }
.container { max-width: 800px; width: 100%; }
h1 { color: #2c3e50; font-size: 1.5rem; text-align: center; margin-bottom: 20px; }
h1 span { font-size: 0.9rem; color: #7f8c8d; }
h3 { margin-top: 0; font-size: 1.1rem; color: #34495e; }

.card { background: white; border-radius: 8px; padding: 20px; margin-bottom: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.file-section { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #e8f4f8; border: 2px dashed #bcdcfa; }

select, button, input { padding: 10px; border-radius: 5px; border: 1px solid #ccc; font-size: 1rem; width: 100%; margin-bottom: 10px; }
button { border: none; cursor: pointer; transition: background 0.2s; font-weight: bold; }
button:active { transform: scale(0.98); }
button:disabled { background: #bdc3c7 !important; cursor: not-allowed; }

.btn-download { background-color: #e74c3c; color: white; margin: 0; }
.btn-up { background-color: #3498db; color: white; }
.btn-down { background-color: #e67e22; color: white; }
.btn-full { background-color: #2ecc71; color: white; margin-bottom: 0; }
.btn-group { display: flex; gap: 10px; }
.btn-group-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-group-grid button { margin: 0; background-color: #9b59b6; color: white; }

.controls-grid { display: grid; grid-template-columns: 1fr; gap: 15px; transition: opacity 0.3s; }
@media (min-width: 600px) {
    .controls-grid { grid-template-columns: 1fr 1fr; }
    .row-span { grid-row: span 2; }
}
.small1 {display:inline}