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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 40px;
    max-width: 800px;
    width: 100%;
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: 700;
}

.subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 40px;
    font-size: 1.1em;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1em;
}

input[type="text"],
select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

input[type="text"]:focus,
select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 8px;
}

.drop-zone {
    border: 3px dashed #667eea;
    border-radius: 15px;
    padding: 60px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    margin-bottom: 25px;
}

.drop-zone:hover {
    border-color: #5a67d8;
    background: linear-gradient(135deg, #e8ecff 0%, #dde4ff 100%);
    transform: translateY(-2px);
}

.drop-zone.dragover {
    border-color: #4c51bf;
    background: linear-gradient(135deg, #dde4ff 0%, #d1d9ff 100%);
    transform: scale(1.02);
}

.drop-zone-content {
    pointer-events: none;
}

.drop-zone i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 15px;
    display: block;
}

.drop-zone p {
    color: #4a5568;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.drop-zone small {
    color: #718096;
    font-size: 0.9em;
}

.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.processing {
    text-align: center;
    padding: 20px;
    display: none;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.result {
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    display: none;
}

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

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

.download-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    display: inline-block;
    text-decoration: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(40, 167, 69, 0.3);
}

.file-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
}

.file-info h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.file-info p {
    color: #6c757d;
    margin-bottom: 5px;
}

.info-section {
    background: #e8f4f8;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #17a2b8;
}

.info-section h3 {
    color: #0c5460;
    margin-bottom: 10px;
}

.info-section p {
    color: #0c5460;
    line-height: 1.6;
}