/* Compress */

.zip-creator-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.creator-header {
    background: linear-gradient(to right, #4aa5f2, #3a8fd8);
    color: white;
    padding: 20px;
    text-align: center;
}

.creator-header h2 {
    margin: 0 0 5px 0;
    font-size: 24px;
}

.creator-header p {
    margin: 0;
    opacity: 0.9;
}

.upload-section {
    border: 2px dashed #7189a2;
    border-radius: 8px;
    padding: 20px 10px 10px 10px;
    text-align: center;
    margin: 8px 10px 10px 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: 48px;
    margin-bottom: 15px;
}

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

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

.file-note {
    font-size: 12px;
    margin-top: 15px;
    color: #7189a2;
}

.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 20px 20px 20px;
}

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

.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: #444;
    font-size: 14px;
}

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

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

.sort-controls label {
    color: #6f8ba8;
    font-weight: 500;
    font-size: 14px;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #4aa5f2;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-label input:checked + .checkmark {
    background-color: #4aa5f2;
}

.checkbox-label input:checked + .checkmark:after {
    content: '✓';
    color: white;
    font-size: 12px;
}

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

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

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

.btn-primary:hover:not(:disabled) {
    background-color: #3a8fd8;
}

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

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

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

.btn-success {
    background-color: #4caf50;
    color: white;
}

.btn-success:hover {
    background-color: #3d8b40;
}

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

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

.btn-remove {
    background: none;
    border: none;
    color: #f44336;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
}

.btn-remove:hover {
    color: #ff1301;
}

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

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

th.sortable {
    cursor: pointer;
}

#progress-status {
    color: #333333;
}

#progress-percent {
    color: #4aa5f2;
    font-weight: 600;
}

.progress-bar {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #4aa5f2, #3a8fd8);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

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

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

thead {
    background-color: #f5f5f5;
}

.sort-indicator {
    margin-left: 5px;
    opacity: 0.5;
    font-size: 12px;
}

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

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

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

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

.file-name {
    color: #333333;
}

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

.success-message {
    background-color: #e3f5e7;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: space-evenly;
    align-content: space-around;
    flex-wrap: wrap;
    flex-direction: column;
}

.success-icon {
    font-size: 24px;
}

.success-content h3 {
    margin: 0 0 5px 0;
    color: #155724;
}

.success-content p {
    margin: 0 0 15px 0;
    color: #155724;
}

.success-content .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

.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;
        flex-wrap: wrap;
    }
    
    .success-message {
        flex-direction: column;
        text-align: center;
    }
}