* {
    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: 1000px;
    margin: 0 auto;
}

.header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    padding: 30px 20px;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.header p {
    font-size: 1.1em;
    opacity: 0.9;
}

.messages {
    margin-bottom: 20px;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: opacity 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.alert-success {
    background-color: #10b981;
    color: white;
}

.alert-error {
    background-color: #ef4444;
    color: white;
}

.alert-warning {
    background-color: #f59e0b;
    color: white;
}

.upload-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.file-label {
    display: block;
    cursor: pointer;
}

.file-upload-box {
    border: 3px dashed #cbd5e0;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    background-color: #f7fafc;
}

.file-upload-box:hover {
    border-color: #667eea;
    background-color: #edf2f7;
}

.file-upload-box.drag-over {
    border-color: #667eea;
    background-color: #e6f2ff;
    transform: scale(1.02);
}

.file-upload-box.has-file {
    border-color: #10b981;
    background-color: #ecfdf5;
}

.file-upload-box svg {
    color: #667eea;
    margin-bottom: 15px;
}

.file-upload-box p {
    font-size: 1.1em;
    color: #4a5568;
    margin-bottom: 10px;
}

.file-types {
    display: block;
    font-size: 0.9em;
    color: #a0aec0;
}

input[type="file"] {
    display: none;
}

.file-name {
    margin-top: 15px;
    padding: 10px;
    background-color: #e6f2ff;
    border-radius: 6px;
    color: #2c5282;
    font-weight: 500;
    display: none;
}

.file-name:not(:empty) {
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    justify-content: center;
    width: 100%;
}

.btn svg {
    flex-shrink: 0;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.4);
}

.btn-secondary:active {
    transform: translateY(0);
}

.info-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.info-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.info-content h4 {
    color: #667eea;
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.info-content h4:first-child {
    margin-top: 0;
}

.info-content ul {
    list-style-position: inside;
    color: #4a5568;
    line-height: 2;
}

.info-content ul li {
    padding-left: 10px;
}

.info-content strong {
    color: #2d3748;
    font-weight: 600;
}

@media (max-width: 768px) {
    .upload-section {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .card {
        padding: 20px;
    }
}
