/* Custom styles for HP150/TD0 Disk Image Manager */

/* Logo styles */
.logo-img {
    max-height: 120px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Enhanced header */
header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid #e9ecef;
}

/* Upload zone improvements */
.upload-zone {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transition: all 0.3s ease;
    cursor: pointer;
    border-color: #dee2e6 !important;
}

.upload-zone:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    border-color: #0d6efd !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}

.upload-zone.drag-over {
    background: linear-gradient(135deg, #cfe2ff 0%, #e7f3ff 100%);
    border-color: #0d6efd !important;
    color: #0d6efd;
    transform: scale(1.02);
}

/* Card improvements */
.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 8px;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
    border-radius: 8px 8px 0 0 !important;
}

/* Button enhancements */
.btn {
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-outline-primary:hover {
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.25);
}

.btn-outline-success:hover {
    box-shadow: 0 4px 8px rgba(25, 135, 84, 0.25);
}

.btn-outline-warning:hover {
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.25);
}

/* Table improvements */
.table {
    border-radius: 6px;
    overflow: hidden;
}

.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

.file-row {
    transition: all 0.2s ease;
}

/* Badge improvements */
.badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.35rem 0.6rem;
}

/* Progress bar */
.progress {
    height: 6px;
    border-radius: 3px;
    background-color: #e9ecef;
}

.progress-bar {
    background: linear-gradient(90deg, #0d6efd, #0056b3);
    transition: width 0.4s ease;
}

/* Alert improvements */
.alert {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Status messages animation */
#status-messages .alert {
    animation: slideInRight 0.3s ease-out;
}

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

/* File icons */
.fa-file {
    color: #6c757d;
}

.fa-folder {
    color: #ffc107;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-img {
        max-height: 60px;
    }
    
    header {
        margin-bottom: 1rem;
    }
    
    .card-header .d-flex {
        flex-direction: column;
        gap: 10px;
    }
    
    .card-header .d-flex > div {
        width: 100% !important;
    }
}

@media (max-width: 576px) {
    .logo-img {
        max-height: 50px;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    .upload-zone {
        padding: 1.5rem 1rem !important;
    }
}
