/* TFM UAM - Custom styles */

:root {
    --tfm-primary: #0d6efd;
    --tfm-sidebar-width: 250px;
}

body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Navbar */
.navbar-brand {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Cards */
.card {
    transition: box-shadow 0.2s ease-in-out;
}

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

/* Dashboard cards */
.card .card-body i.bi {
    opacity: 0.85;
}

/* Table */
.table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    font-weight: 600;
}

/* Badges */
.badge {
    font-weight: 500;
}

/* Footer */
.footer {
    font-size: 0.85rem;
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--tfm-primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Login page */
.card.shadow-sm {
    border-radius: 0.75rem;
}

/* Breadcrumb */
.breadcrumb-item a {
    text-decoration: none;
    color: var(--tfm-primary);
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

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

/* List group */
.list-group-item {
    border-left: none;
    border-right: none;
}

.list-group-item:first-child {
    border-top: none;
}

/* Responsive table */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.85rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}
