/* Upload Area Styles */
.upload-area {
    border: 2px dashed #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #4361ee;
    background: #f1f5f9;
}

.upload-area.dragover {
    border-color: #4361ee;
    background: #e2e8f0;
}

.upload-icon {
    font-size: 3rem;
    color: #4361ee;
}

/* Compression Options */
.compression-options .card {
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.form-range::-webkit-slider-thumb {
    background: #4361ee;
}

/* Images List */
.images-list img {
    max-width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.table th {
    font-weight: 600;
    color: #2d3748;
}

.table td {
    vertical-align: middle;
}

/* Status Badges */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
}

.status-badge.pending {
    background: #fff7ed;
    color: #c2410c;
}

.status-badge.processing {
    background: #eff6ff;
    color: #1d4ed8;
}

.status-badge.completed {
    background: #f0fdf4;
    color: #15803d;
}

.status-badge.error {
    background: #fef2f2;
    color: #b91c1c;
}

/* Action Buttons */
.action-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .table-responsive {
        margin: 0 -1rem;
    }
    
    .upload-content {
        padding: 2rem !important;
    }
}

/* Disabled Upload Area */
.upload-area.disabled {
    opacity: 0.7;
    cursor: not-allowed;
    border-color: #e2e8f0;
    background: #f8fafc;
}

.upload-area.disabled:hover {
    border-color: #e2e8f0;
    background: #f8fafc;
}

.upload-area.disabled .upload-icon {
    color: #718096;
}

/* Alert Styles */
.alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    max-width: 350px;
}

.custom-alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideIn 0.3s ease-out;
}

.custom-alert.error {
    background-color: #fef2f2;
    border-left: 4px solid #dc2626;
    color: #991b1b;
}

.custom-alert.warning {
    background-color: #fff7ed;
    border-left: 4px solid #ea580c;
    color: #9a3412;
}

.custom-alert.info {
    background-color: #eff6ff;
    border-left: 4px solid #2563eb;
    color: #1e40af;
}

.alert-content {
    flex-grow: 1;
    margin-right: 1rem;
}

.alert-close {
    background: none;
    border: none;
    color: currentColor;
    opacity: 0.7;
    cursor: pointer;
    padding: 0;
    font-size: 1.25rem;
}

.alert-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
} 