* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
}

.file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    border: 2px dashed #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
    position: relative;
}

.file-upload:hover {
    border-color: #FFBA49;
    background-color: rgba(255, 186, 73, 0.05);
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #FFBA49;
}

.file-upload-text {
    text-align: center;
    margin-bottom: 0.5rem;
}

.file-upload-info {
    color: #777;
    font-size: 0.9rem;
    text-align: center;
}

button {
    width: 100%;
    padding: 0.75rem;
    background-color: #FFBA49;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #e6a73e;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.progress-container {
    margin-top: 1rem;
    display: none;
}

.progress-bar {
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

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

.progress-text {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

.message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    text-align: center;
}

.error {
    background-color: #ffebee;
    color: #c62828;
}

.success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.files-list {
    margin-top: 2rem;
    border-top: 1px solid #ddd;
    padding-top: 1.5rem;
}

.files-list h2 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.5rem;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background-color: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.file-name {
    flex: 1;
    margin-right: 1rem;
    word-break: break-all;
}

.file-actions {
    display: flex;
    gap: 0.5rem;
}

.file-actions button {
    width: auto;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

.file-actions .delete-btn {
    background-color: #f44336;
}

.file-actions .delete-btn:hover {
    background-color: #d32f2f;
}

.file-actions .download-btn {
    background-color: #2196f3;
}

.file-actions .download-btn:hover {
    background-color: #1976d2;
}

.no-files {
    text-align: center;
    color: #777;
    font-style: italic;
    padding: 1rem;
}

.navbar a {
    margin: 0 10px;
}

.active {
    border-bottom: 6px solid #FFBA49;
}