* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ebe5df;
    min-height: 100vh;
    padding: 40px 20px 60px;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 600px;
    margin: 0 auto;
}

h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f1f1e;
}

.subtitle {
    color: #6b6560;
    margin-bottom: 8px;
    font-size: 14px;
}

.subtitle:last-of-type {
    margin-bottom: 40px;
}

.drop-zone {
    border: 3px dashed #c4beb7;
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    background: #f9f7f5;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drop-zone:hover {
    border-color: #da7756;
    background: #fdfcfb;
}

.drop-zone.dragover {
    border-color: #da7756;
    background: #fef6f3;
}

.drop-zone p {
    color: #6b6560;
    font-size: 16px;
}

.drop-zone .icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.status {
    margin-top: 20px;
    padding: 16px;
    background: #f9f7f5;
    border-radius: 8px;
    text-align: left;
    font-size: 14px;
    color: #6b6560;
}

.status.processing {
    color: #da7756;
}

.status.success {
    color: #2e7d32;
}

.status.error {
    color: #c62828;
}

.file-types {
    margin-top: 12px;
    font-size: 12px;
    color: #9b9590;
}

.selected-file {
    margin-top: 20px;
    padding: 16px;
    background: #f9f7f5;
    border-radius: 8px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.selected-file.visible {
    display: flex;
}

.file-name {
    font-size: 14px;
    color: #1f1f1e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.convert-btn {
    background: #da7756;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.convert-btn:hover {
    background: #c4684a;
}

.convert-btn:disabled {
    background: #c4beb7;
    cursor: not-allowed;
}

footer {
    margin-top: auto;
    padding-top: 40px;
    text-align: center;
    font-size: 13px;
    color: #9b9590;
}

footer a {
    color: #6b6560;
    text-decoration: none;
}

footer a:hover {
    color: #da7756;
}
