body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f4f8;
    color: #333;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 700px;
    max-width: 700px;
}

h1 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.drop-zone {
    border: 2px dashed #3498db;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.drop-zone:hover, .drop-zone.dragover {
    background-color: #ecf0f1;
    border-color: #2980b9;
}

.file-label {
    color: #666;
}

.upload-tip {
    font-size: 14px;
    color: #999;
    margin-top: 8px;
}

.file-list {
    margin: 20px 0;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.file-list-header {
    background-color: #f5f5f5;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-items {
    max-height: 200px;
    overflow-y: auto;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
}

.file-item:last-child {
    border-bottom: none;
}

.file-name {
    flex: 1;
    margin-right: 20px;
}

.delete-btn, .clear-btn {
    color: #e74c3c;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
}

.delete-btn:hover, .clear-btn:hover {
    color: #c0392b;
    text-decoration: underline;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.primary-btn, .secondary-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.primary-btn {
    background-color: #2ecc71;
    color: white;
}

.primary-btn:hover {
    background-color: #27ae60;
}

.primary-btn:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.secondary-btn {
    background-color: #e67e22;
    color: white;
}

.secondary-btn:hover {
    background-color: #d35400;
}

.progress-container {
    margin: 1.5rem 0;
}

.progress-bar {
    height: 20px;
    background-color: #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background-color: #2ecc71;
    width: 0;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.preview-container {
    margin-top: 2rem;
}

.preview-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

#previewImage {
    max-width: 80%;
    height: auto;
}

.nav-button {
    background-color: #3498db;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.nav-button:hover {
    background-color: #2980b9;
}

.nav-button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

#imageCounter {
    color: #7f8c8d;
    margin: 0.5rem 0;
} 