/* Custom styles for asset management system */

/* Sticky footer */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.footer {
    flex-shrink: 0;
}

/* Card enhancements */
.card {
    transition: box-shadow 0.15s ease-in-out;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

/* Table improvements */
.table th {
    font-weight: 500;
    color: #6c757d;
}

/* Badge styling */
.badge {
    font-weight: 400;
}

/* Form focus states */
.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Navbar tweaks */
.navbar-brand {
    font-weight: 600;
}

.nav-link i {
    margin-right: 0.25rem;
}

/* Alert improvements */
.alert {
    border-radius: 0.5rem;
}

/* Code styling */
code {
    background-color: #e9ecef;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 90%;
}

/* Drag handle cursor */
.drag-handle {
    cursor: grab;
}

.drag-handle:active {
    cursor: grabbing;
}

/* Status colors */
.status-in-use { color: #198754; }
.status-idle { color: #6c757d; }
.status-maintenance { color: #ffc107; }
.status-scrapped { color: #dc3545; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }
}