/* Main stylesheet for the Task Manager Dashboard */

/* Custom variables */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

/* Body styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f5f8fa;
}

/* Make footer stick to bottom */
.footer {
    margin-top: auto;
}

/* Card styles */
.card {
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

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

.card-header {
    border-bottom: 0;
    padding: 1rem;
}

/* Data table styles */
.table > :not(:first-child) {
    border-top: 1px solid currentColor;
}

/* Badge styles */
.badge {
    font-weight: 500;
    padding: 0.4em 0.65em;
}

/* Pre code blocks */
pre {
    background-color: #f8f9fa;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    padding: 1rem;
    overflow-x: auto;
}

/* Custom button styles */
.btn-icon {
    padding: 0.25rem 0.5rem;
    line-height: 1;
}

/* Make responsive tables more usable on mobile */
@media (max-width: 767.98px) {
    .table-responsive {
        max-height: 400px;
    }
}

/* Improve spacing and readability */
.breadcrumb {
    background-color: transparent;
    padding: 0.5rem 0;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
}

/* Hide arrows on number inputs */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

/* Add some motion to the dashboard */
.list-group-item {
    transition: all 0.2s ease;
}

.list-group-item:hover {
    transform: translateX(5px);
    background-color: rgba(13, 110, 253, 0.05);
}
