/* Global Styling */
body {
    background-color: #f3f4f6; /* Soft Gray */
    font-family: 'Inter', sans-serif;
    color: #374151; /* Gray 700 */
}

/* Navbar Gradient */
.navbar {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Primary Button Styling */
.btn-primary {
    background-color: #6366f1;
    border-color: #6366f1;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #4f46e5;
    border-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Table Styling */
.table thead th {
    background-color: #f9fafb;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #6b7280;
}

.table tbody tr {
    transition: background-color 0.2s ease;
}

.table tbody tr:hover {
    background-color: #f5f3ff; /* Very light purple tint */
}

.avatar-initial {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #4338ca;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Mobile Card View for Table Rows */
@media (max-width: 768px) {
    /* Hide the table header */
    .table thead {
        display: none;
    }
    
    /* Make rows block level */
    .table tbody tr {
        display: block;
        background-color: white;
        margin-bottom: 1rem;
        border-radius: 1rem;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
        padding: 1rem;
        border: 1px solid #f3f4f6;
    }

    .table tbody td {
        display: flex;
        padding: 0.5rem 0;
        border: none;
    }
    
    /* Justify Content for the cells */
    .table tbody td:first-child {
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .table tbody td:last-child {
        justify-content: flex-end;
        padding-top: 1rem;
    }

}

/* FAB Button */
.fab-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border: none;
}

/* Toast Customization */
.toast.bg-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}
.toast.bg-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

/* Form Inputs */
.form-control:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
}

/* Modal Animation override (optional, BS5 handles it well) */
.modal-content {
    border: none;
}
