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

:root {
    --primary-color: #4A90E2;
    --primary-dark: #357ABD;
    --secondary-color: #5DADE2;
    --background: #F5F7FA;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --border-color: #E1E8ED;
    --success-color: #27AE60;
    --error-color: #E74C3C;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.instructions {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.upload-section {
    margin-bottom: 30px;
}

.section-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.drop-zone {
    background: white;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.drop-zone:hover {
    border-color: var(--primary-color);
    background: #F8FBFF;
}

.drop-zone.dragover {
    border-color: var(--primary-color);
    background: #E3F2FD;
    border-style: solid;
}

.drop-zone.small {
    padding: 30px 20px;
}

.upload-icon {
    width: 60px;
    height: 60px;
    color: var(--primary-color);
    margin-bottom: 15px;
    stroke-width: 2;
}

.upload-icon.small {
    width: 40px;
    height: 40px;
}

.drop-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.drop-text.small {
    font-size: 0.95rem;
}

.drop-subtext {
    font-size: 0.9rem;
    color: var(--text-light);
}

.file-list {
    margin-top: 15px;
}

.file-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.file-name {
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 10px;
    font-size: 0.9rem;
}

.remove-file {
    background: none;
    border: none;
    color: var(--error-color);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 5px;
}

.template-selection {
    margin: 30px 0;
}

.radio-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.radio-option {
    flex: 1;
    max-width: 200px;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.radio-option input[type="radio"]:checked + .radio-label {
    border-color: var(--primary-color);
    background: #E3F2FD;
    color: var(--primary-color);
}

.radio-icon {
    font-size: 1.5rem;
}

.submit-button {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow);
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-button:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
}

.button-icon {
    font-size: 1.3rem;
}

.progress-section {
    margin-top: 30px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    color: var(--text-light);
    font-size: 0.95rem;
}

.how-it-works {
    margin-top: 60px;
    text-align: center;
}

.how-it-works h3 {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.optional {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .drop-zone {
        padding: 40px 20px;
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    .radio-option {
        max-width: none;
    }
    
    .how-it-works {
        margin-top: 40px;
    }
}
