:root {
    --primary-color: #4a6bff;
    --secondary-color: #3a56d4;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #28a745;
    --error-color: #dc3545;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7ff;
    color: var(--dark-color);
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

header h1 i {
    margin: 0 0.5rem;
}

.subtitle {
    color: #666;
    font-size: 1.1rem;
}

.upload-area {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
    border: 2px dashed #ccc;
    transition: var(--transition);
}

.upload-area:hover {
    border-color: var(--primary-color);
}

.upload-area i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upload-area h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.upload-area p {
    margin: 1rem 0;
    color: #666;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    margin-top: 1rem;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-primary i {
    margin-right: 0.5rem;
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: #f0f4ff;
}

.options-section {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.options-section h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
}

.options-section h3 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.option-group {
    margin-bottom: 1.5rem;
}

.option-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.option-group select {
    width: 100%;
    padding: 0.8rem;
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
    background-color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.option-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 107, 255, 0.2);
}

.progress-section {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
    display: none;
}

.progress-container {
    text-align: center;
}

.progress-container h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-container h3 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.progress-bar {
    background-color: #f0f0f0;
    border-radius: 10px;
    height: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.progress {
    background-color: var(--primary-color);
    height: 100%;
    width: 0%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.progress-text {
    color: #666;
    font-size: 0.9rem;
}

.result-section {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    display: none;
}

.result-card {
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.result-card h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.result-card p {
    margin-bottom: 2rem;
    color: #666;
}

footer {
    margin-top: auto;
    text-align: center;
    padding-top: 2rem;
    color: #666;
    font-size: 0.9rem;
}

.error-message {
    color: var(--error-color);
    text-align: center;
    margin-bottom: 1rem;
    display: none;
}

/* Drag and Drop Effects */
.upload-area.drag-over {
    border-color: var(--primary-color);
    background-color: rgba(74, 107, 255, 0.05);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }
}