/* Custom CSS for Tablet Rental System */

/* Card shadows */
.card.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Status badges spacing */
.badge {
    font-size: 0.8rem;
    padding: 0.35em 0.65em;
}

/* Footer styling */
footer {
    margin-top: 3rem !important;
    padding: 1.5rem 0;
}

/* Improve form validation styling */
.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Add some spacing to form groups */
.form-group {
    margin-bottom: 1rem;
}

/* Make sure buttons in tables don't wrap */
.table .btn-group,
.table .btn {
    white-space: nowrap;
}

/* Improved table responsive behavior */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Filter for nl2br custom filter */
.nl2br {
    white-space: pre-line;
}

/* Table hover improvements */
.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.075) !important;
}

/* Card header icon spacing */
.card-header i {
    margin-right: 0.5rem;
}

/* Ensure nav dropdown doesn't get cut off */
.dropdown-menu {
    min-width: 10rem;
}

/* Fix for form label spacing */
.form-label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Make sure action buttons have consistent spacing */
.btn-group > .btn,
.btn:not(:last-child) {
    margin-right: 0.25rem;
}

/* Better focus styles for accessibility */
.btn:focus, 
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    outline: 0;
}
