/* Extract */
.upload-section {
    border: 2px dashed #7189a2;
    border-radius: 8px;
    padding: 20px 10px;
    text-align: center;
    margin: 10px;
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

.upload-section:hover, .upload-section.active {
    border-color: #4aa5f2;
    background-color: rgba(74, 165, 242, 0.05);
}

.upload-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.upload-section h3 {
    margin-bottom: 10px;
    color: #333333;
}

.upload-section p {
    color: #7189a2;
    margin-bottom: 15px;
}

.upload-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4aa5f2;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    background-color: #3a8fd8;
    transform: translateY(-2px);
}

.file-input {
    display: none;
}

.file-info-section {
    background-color: #e2ecf7;
    border-radius: 8px;
    padding: 20px;
    margin: 0 3px 20px 3px;
}

.file-info-section h3 {
    margin-bottom: 15px;
    color: #7189a2;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 12px;
    color: #7189a2;
    margin-bottom: 5px;
}

.info-value {
    font-weight: 600;
    color: #333333;
    font-size: 13px;
}

.controls-section {
    padding: 0 20px 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.breadcrumb-item {
    color: #4aa5f2;
    cursor: pointer;
}

.breadcrumb-item:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #7189a2;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-controls label {
    color: #333333;
    font-weight: 500;
}

.sort-controls select {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background-color: white;
    color: #333333;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #4aa5f2;
    color: white;
}

.btn-primary:hover {
    background-color: #3a8fd8;
}

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

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

.btn-outline {
    background-color: #eb9999;
    color: #fff;
}

.btn-outline:hover {
    background-color: #4aa5f2;
    color: white;
}

.btn-table {
    padding: 6px 12px;
    background-color: #4aa5f2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-table:hover {
    background-color: #3a8fd8;
}

.progress-section {
    margin: 0 20px 20px 20px;
}

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

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

.progress-text {
    text-align: center;
    font-size: 14px;
    color: #7189a2;
}

.file-table-section {
    margin: 0 20px 20px 20px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: #f5f5f5;
}

th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #333333;
    border-bottom: 1px solid #ddd;
    background-color: #e2ecf7;
}

td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: #f9f9f9;
}

.folder {
    color: #4aa5f2;
    font-weight: 600;
    cursor: pointer;
}

.folder:hover {
    text-decoration: underline;
}

.file-icon {
    margin-right: 8px;
    color: #7189a2;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin: 0 20px 20px 20px;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .controls-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .action-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .sort-controls {
        width: 100%;
        justify-content: space-between;
    }
}