* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: "Proxima Nova", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #fafafa;
}

.main-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.toolbar {
    padding: 10px;
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.toolbar-top {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.container {
    background: white;
    border: 2px solid #ddd;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn {
    padding: 8px 16px;
    cursor: pointer;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    font-family: "Proxima Nova", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 
                0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: linear-gradient(135deg, #e8e8e8 0%, #d8d8d8 100%);
    border-color: #b0b0b0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), 
                0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border-color: #3d8b40;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    border-color: #2e6930;
}

.btn-primary:disabled {
    background: #cccccc;
    border-color: #aaa;
    cursor: not-allowed;
    transform: none;
}

.nav-btn {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    border-color: #1565C0;
    box-shadow: 0 3px 6px rgba(33, 150, 243, 0.3), 
                0 1px 3px rgba(33, 150, 243, 0.2);
}

.nav-btn:hover {
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
    box-shadow: 0 4px 8px rgba(33, 150, 243, 0.4), 
                0 2px 4px rgba(33, 150, 243, 0.3);
}

.file-input {
    padding: 8px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-family: "Proxima Nova", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    background: white;
    min-width: 300px;
}

.divider {
    width: 1px;
    height: 24px;
    background: #999;
    margin: 0 8px;
}

h1 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.description {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.upload-section {
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.progress-container {
    margin-top: 20px;
    display: none;
}

.progress-container h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

progress {
    width: 100%;
    height: 20px;
    border-radius: 10px;
    border: none;
    background: #f0f0f0;
}

progress::-webkit-progress-bar {
    background: #f0f0f0;
    border-radius: 10px;
}

progress::-webkit-progress-value {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-radius: 10px;
}

progress::-moz-progress-bar {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-radius: 10px;
}

#status {
    margin-top: 10px;
    font-style: italic;
    color: #666;
    font-size: 12px;
}

#results {
    margin-top: 20px;
}

#results div {
    padding: 8px 12px;
    margin: 5px 0;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    color: #333;
}

.status-message {
    font-size: 12px;
    color: #666;
    margin-left: 10px;
}

.app-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-right: 15px;
}

@media (max-width: 768px) {
    .toolbar-top {
        justify-content: flex-start;
    }
    
    .upload-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .file-input {
        min-width: auto;
    }
}