:root {
    --primary-color: #4285f4;
    --secondary-color: #34a853;
    --error-color: #ea4335;
    --light-gray: #f5f5f5;
    --dark-gray: #333;
    --medium-gray: #777;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: var(--dark-gray);
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
}

header .subtitle {
    color: var(--medium-gray);
    font-size: 1.1rem;
}

.upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: rgba(66, 133, 244, 0.05);
}

.upload-area.drag-over {
    border-color: var(--secondary-color);
    background-color: rgba(52, 168, 83, 0.05);
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upload-area h2 {
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.file-info {
    margin-top: 1rem;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.options-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.options-section h3 {
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.option {
    margin-bottom: 1rem;
}

.option label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.option select, .option input[type="text"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.option input[type="checkbox"] {
    margin-right: 0.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    text-decoration: none;
}

.btn:hover {
    background-color: #3367d6;
}

.compress-btn {
    width: 100%;
    margin-bottom: 1rem;
}

.compress-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.download-btn {
    width: 100%;
    background-color: var(--secondary-color);
    margin-bottom: 2rem;
}

.download-btn:hover {
    background-color: #2d9249;
}

.progress-container {
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    color: var(--medium-gray);
}

.results {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.results h3 {
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
}

footer {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .container {
        padding: 1rem;
        margin: 1rem;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
}