:root {
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --secondary-color: #f72585;
    --background-color: #f8f9fa;
    --card-color: #ffffff;
    --text-color: #333333;
    --text-light: #6c757d;
    --border-color: #e9ecef;
    --success-color: #4bb543;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 900px;
    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.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

.upload-area {
    background-color: var(--card-color);
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--primary-color);
}

.upload-area i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upload-area h2 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.upload-area p {
    color: var(--text-light);
    margin: 0.5rem 0;
}

.file-info {
    font-size: 0.9rem;
    margin-top: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: rgba(67, 97, 238, 0.1);
}

.file-list-container {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.file-list-container h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.file-list {
    min-height: 100px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
}

.empty-message {
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.file-item:last-child {
    border-bottom: none;
}

.file-name {
    flex-grow: 1;
    margin-right: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-right: 1rem;
}

.file-remove {
    color: var(--secondary-color);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
}

.options-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.option {
    flex: 1;
}

.option label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.option input, .option select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.option input {
    display: inline-block;
    width: calc(100% - 40px);
}

.option span {
    display: inline-block;
    margin-left: 5px;
    font-size: 1rem;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.progress-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--card-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.progress-bar {
    background-color: var(--border-color);
    border-radius: 10px;
    height: 10px;
    margin: 1.5rem 0;
    overflow: hidden;
}

.progress {
    background-color: var(--primary-color);
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.download-container {
    display: none;
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.download-card h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.download-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

.link:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    margin-top: auto;
    padding: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Drag and drop styles */
.drag-over {
    background-color: rgba(67, 97, 238, 0.1);
    border-color: var(--primary-color);
}

/* Responsive styles */
@media (max-width: 768px) {
    .options-container {
        flex-direction: column;
        gap: 1rem;
    }

    .container {
        padding: 1.5rem;
    }

    header h1 {
        font-size: 2rem;
    }
}