/* Các kiểu CSS chung cho toàn bộ trang web */
body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-container {
    margin-top: 2rem;
    margin-bottom: 3rem;
    flex: 1;
}

.footer {
    background-color: #212529;
    color: #f8f9fa;
    padding: 3rem 0 2rem;
    margin-top: auto;
}

.page-header {
    background: linear-gradient(90deg, #007bff, #0056b3);
    padding: 2rem 0;
    color: white;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* Kiểu dáng cho card */
.card {
    border-radius: 10px;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card-header {
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Tùy chỉnh cho upload */
.upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.upload-area.highlight {
    border-color: #0d6efd;
    background-color: #f1f8ff;
}

.upload-icon {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 1rem;
}

.upload-info {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

/* Tùy chỉnh cho trang danh sách hình ảnh */
.image-grid-1 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}

.image-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-card:hover .image-container img {
    transform: scale(1.05);
}

/* Tùy chỉnh responsive */
@media (max-width: 767.98px) {
    .page-header {
        padding: 1.5rem 0;
    }
    
    .image-container {
        height: 180px;
    }
}