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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2.5em;
}

.upload-section {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.file-input {
    display: none;
}

.file-label {
    background: #4CAF50;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 500;
}

.file-label:hover {
    background: #45a049;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.process-btn {
    background: #2196F3;
    color: white;
}

.process-btn:hover:not(:disabled) {
    background: #1976D2;
}

.process-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.download-btn {
    background: #FF9800;
    color: white;
}

.download-btn:hover:not(:disabled) {
    background: #F57C00;
}

.download-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.info-section {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.file-info, .processing-info {
    margin: 10px 0;
    padding: 10px;
    background: white;
    border-radius: 5px;
    border-left: 4px solid #2196F3;
}

.result-section {
    text-align: center;
    margin: 30px 0;
}

.status {
    text-align: center;
    margin: 20px 0;
}

#statusMessage {
    padding: 10px;
    border-radius: 5px;
    font-weight: 500;
}

.status-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}