.machine-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,.125);
}

.machine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15) !important;
}

.machine-card .card-header {
    border-bottom: 2px solid #dee2e6;
}

.machine-card .card-body h6 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.machine-card .card-footer {
  padding: 1rem;
}

.badge.fs-6 {
    font-size: 0.875rem !important;
    padding: 0.35em 0.65em;
}

@media (max-width: 768px) {
    .machine-card {
  margin-bottom: 1rem;
    }
}

/* Stats Cards */
.stats-card {
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15) !important;
}

.stats-icon {
    opacity: 0.8;
}

/* Page Title */
.page-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

/* Header Section */
.d-flex.justify-content-between.align-items-center {
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 768px) {
  .d-flex.justify-content-between.align-items-center {
    flex-direction: column;
        align-items: flex-start;
 }
    
    .d-flex.justify-content-between.align-items-center > div:last-child {
display: flex;
        gap: 0.5rem;
  width: 100%;
    }
    
    .d-flex.justify-content-between.align-items-center > div:last-child a {
        flex: 1;
    }
}
