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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.module {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.hidden {
    display: none;
}

h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.input-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

button {
    padding: 0.5rem 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

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

.hint {
    display: block;
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.drop-zone {
    border: 2px dashed #ddd;
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
}

.drop-zone:hover {
    border-color: #3498db;
}

.drop-zone.success {
    border-color: #2ecc71;
    background-color: #f0fff4;
    cursor: default;
}

.drop-zone.disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.drop-zone.disabled button {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.drop-zone.disabled button:hover {
    background-color: #95a5a6;
}

.file-info {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    background-color: #f8f9fa;
    display: none;
}

.file-info.show {
    display: block;
}

.file-info.success {
    background-color: #f0fff4;
    border: 1px solid #2ecc71;
}

.file-info .file-name {
    font-weight: 500;
    color: #2c3e50;
}

.file-info .file-count {
    color: #666;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.reset-button {
    margin-top: 1rem;
    background-color: #95a5a6;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

.reset-button:hover {
    background-color: #7f8c8d;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 1rem 0;
}

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

.result-list {
    margin-top: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.result-item {
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}

.result-item.success {
    color: #27ae60;
}

.result-item.error {
    color: #e74c3c;
}

.action-buttons {
    margin-top: 1rem;
    text-align: center;
}

#executeButton {
    background-color: #e74c3c;
    min-width: 120px;
}

#executeButton:hover {
    background-color: #c0392b;
}

#executeButton:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.stats-info {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.stats-info div {
    padding: 0.5rem;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.summary-info {
    background-color: #2ecc71;
    color: white;
    padding: 1.5rem;
    border-radius: 4px;
    margin: 1rem 0;
    text-align: center;
}

.summary-info h3 {
    margin-bottom: 1rem;
    color: white;
}

.summary-info p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
} 