/* assets/style.css */

/* Import a Google Font for modern typography */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 15px;
}

/* Card Styling */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Card Header */
.card-header {
    background-color: #343a40;
    color: #fff;
    padding: 15px;
    border-radius: 8px 8px 0 0;
}

/* Card Body */
.card-body {
    padding: 20px;
}

/* Limit the maximum width of images in the Dash DataTable cells */
.dash-spreadsheet td img {
    max-width: 50px;
    height: auto;
}
/* Button Styles */
.btn-custom, .btn-primary, .btn-success {
    border-radius: 5px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}
.btn-custom:hover, .btn-primary:hover, .btn-success:hover {
    opacity: 0.9;
}

/* DataTable Customization */
.dash-table-container .dash-cell {
    padding: 8px 12px;
    border-bottom: 1px solid #eaeaea;
}
.dash-table-container .dash-header {
    background-color: #f8f9fa;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 1;
}
.dash-table-container .dash-row:nth-child(even) {
    background-color: #f2f2f2;
}
.dash-table-container .dash-row:hover {
    background-color: #e9ecef;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card-header, .card-body {
        padding: 10px;
    }
}